Project

General

Profile

How to add translations into plugins

Added by Erman Terciyanlı about 12 years ago

I am new in redmine and try to translate some plugins that we are using now to Turkish. I am creating tr.yml files, but at the end Turkish characters looks not so good like ç and ü. I can see that characters in other parts of the redmine but i have problems in translated plugins by me. Do i need anything other than creating tr.yml files?

Thanks...

Erman


Replies (3)

RE: How to add translations into plugins - Added by Ivan Cenov about 12 years ago

Hi, Erman,

Most of the plugins are hosted at http://github.com.
You have to fork the plugin that you want to localize.
Then, having your own repository, you have to clone it to your PC.
Then you create/change what you have to.
Then you commit your changes and push them to your repository at github.
At last you create Pull request to the repository you forked from.
The owner of the original repository merges your modifications into the original repository and the work is done.

See there for more information.

Ivan

RE: How to add translations into plugins - Added by Erman Terciyanlı about 12 years ago

Hi, Ivan

Thanks for quick reply.
Now the way for changes is clear but the problem with turkish characters is not clear enough. e.g. i added the translation for ezlibrarian plugin with new tr.yml file and it is for the changes in original repository. i want to add all the translations that i used but what is wrong with the turkish characters when i change and use them in locale. Do i need to change any other files other than tr.yml?

Thanks

Erman

RE: How to add translations into plugins - Added by Ivan Cenov about 12 years ago

Hi,

The only place where you have to change is the plugins' config/locales/tr.yml. Localization files must be in UTF-8 format.

    (1-3/3)