Closed waitekk closed 11 years ago
All translations are made in the user/docs/yum_translation.sql dump file. It gets automatically installed by the YumInstallController. You could fix this file, save it in UTF-8 and i can merge your translations into master.
Thanks for your efforts in advance - enjoy yum :)
OK.
How about other translations? As far as I can see, some messages in other languages are corrupt as well and there are duplicates... I know it's hard to drop anything that was already achieved, but maybe there should be a cleanup or something?
Thats true! There is a yiic console command that checks for missing translations. I am not sure if it can be used for Yum, but i think it can easily be adjusted.
The translation strings can also be configured inside the yii user management admin panel. We could also tweak this admin panel to allow easier modification of strings.
The strings are stored in database for two reasons so far - because they are many, and because it is easier to adjust the strings to project specific terms (for example contact for friendship/...)
Seems like there are many files with improper Yii:t()
usage (expressions instead of {alias}
). Gotta fix them first...
PR merged, issue should be resolved now.
Russian translation encoding is irreversibly ruined since SVN revisions.
I believe I can create a pull request with correct messages if you give correct instructions on how to use translation workflow with your module.