To Reproduce
Steps to reproduce the behavior:
Fill only base locale file with this. (Example is ru locale)
"employeePermissionTitleMap(context=EmployeePermission, param=perm)": {
"canViewStatisticsWithRatingBlock": "Может просматривать статистику с рейтингом"
}
run ... slang analyze
_missing_translation.json output:
{
"@@info": [
"Here are translations that exist in <ru> but not in secondary locales.",
"After editing this file, you can run 'dart run slang apply --locale=<locale>' to quickly apply the newly added translations."
],
"az": {},
"en": {},
"es": {}
}
Expected behavior
Something like this:
{
"@@info": [
"Here are translations that exist in <ru> but not in secondary locales.",
"After editing this file, you can run 'dart run slang apply --locale=<locale>' to quickly apply the newly added translations."
],
"az": {
"employeePermissionTitleMap(context=EmployeePermission, param=perm)": {
"canViewStatisticsWithRatingBlock": "Может просматривать статистику с рейтингом"
}
},
"en": {
"employeePermissionTitleMap(context=EmployeePermission, param=perm)": {
"canViewStatisticsWithRatingBlock": "Может просматривать статистику с рейтингом"
}
},
"es": {
"employeePermissionTitleMap(context=EmployeePermission, param=perm)": {
"canViewStatisticsWithRatingBlock": "Может просматривать статистику с рейтингом"
}
}
}
To Reproduce Steps to reproduce the behavior: Fill only base locale file with this. (Example is ru locale)
run
... slang analyze
_missing_translation.json output:Expected behavior Something like this:
Additional context version: 3.31.0