You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that we have a great set of translations we need to make it easy for any translators to find strings that have not yet been updated. Currently, It's not much of an issue but as we get more translations and as new features are added with more text then translations will become further out of line.
Proposed solution
It would be great to have a simple command-line php script that can be ran which outputs which translations are missing or have been removed when compared to the english text.
This script would be located in the resources/lang folder but would be standalone and not rely on Laravel.
I'd imagine the call signature would be something like this:
php resources/lang/check-translations fr
And the output would be something like this:
Checking translations for 'fr'....
Missing 2 translations strings:
entities.permissions_intro
errors.permissionJson
The following 1 translation can be removed:
common.no_activity
The text was updated successfully, but these errors were encountered:
The current issue
Now that we have a great set of translations we need to make it easy for any translators to find strings that have not yet been updated. Currently, It's not much of an issue but as we get more translations and as new features are added with more text then translations will become further out of line.
Proposed solution
It would be great to have a simple command-line php script that can be ran which outputs which translations are missing or have been removed when compared to the english text.
This script would be located in the
resources/lang
folder but would be standalone and not rely on Laravel.I'd imagine the call signature would be something like this:
And the output would be something like this:
The text was updated successfully, but these errors were encountered: