-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I18n/L10n: auto update translations #4151
Comments
I think currently only Actually, we have a workflow there to check for new strings in the main repo Personally, I think in some cases automatic translation might work and could even be useful (e.g., standard error messages) but those should all already be included in the translations repo by now. |
@sfadschm yes, but github action or composer script must be add to this repo |
Yes, if we want to implement automatic translation, we would need to add actions. |
these are temporary/initial stubs, devs can be replace them later |
I honestly don't think thats reasonable. If any dev wants to translate one of the strings they can simply contribute to the |
Personally I do not like automated translations to the translations repo. As we have disclaimed there that we have no command in other language besides English, I think it is quite pretentious (or ironic?) to add automatically translated strings which are more often than not broken as to grammatical correctness or even the original meaning. For this reason we subscribe to the help of maintainers from the community to aid in a more "natural" translation rather than synthetic. Though I'll admit that the idea of maintainers was not efficient as originally planned because most are not active, I'll say human translators are relatively better. Besides, if the string has no equivalent translation then it will always fallback to |
I'm not a big fan of this idea. The quality of the translations would be rather poor. I definitely prefer to rely on people for this. Especially as Paul noted earlier - we have to be quite precise sometimes. With automatic translation, we wouldn't be able to check whether the translation made sense. If the translation is out of date, then... oh well. We can only wait if someone needs it enough to add an update. Personally, I don't think it's a big deal. |
Use something like Github Translation Action or Translate Shell to translate new strings in config files.
Algorithm:
CodeIgniter4/system/Language/en/
CodeIgniter4/system/Language/{$language}/
(auto translation of new lines only)CodeIgniter4/system/Language/{$language}/
The text was updated successfully, but these errors were encountered: