aux

aux

1M Downloads

add localization support

Artur91425 opened this issue ยท 1 comments

commented

Yes, I know your answer, that you do not want to look for translators to translate new lines.

The only thing I ask is to make a localization file in which will be written all the names, phrases etc. And already everyone who wants to translate the addon will easily fork your repository and add translate. In this way, you will also not be associated with translators.

If you do not want to search for these lines in all files for a long time, then look at how I did it:
https://github.com/WoWruRU-ClassicAddons/aux-addon

I ask you to do this in self repository as it will be much easier for me to follow the innovations and add a translation without editing a bunch of files.

In addition to the translation, I also changed points and added a dynamic width for some buttons. Look, maybe it will interest you.

P.S. Sorry for the bad English. I do not know the language well and used Google translate. I hope you can understand what I wrote xD

commented

There are already Chinese translations for the addon that from the community, but we need localization support so that the translations are easier to maintain (so we don't need to modify the source code after each update).

Once the localization support is complete and the locale/enUS.lua with L["xxx"] is created, you can enable the localization page in CurseForge like any other project and import the file. We will submit the translation there. Then we or you can export the latest translation from CurseForge and apply it to the addon, just a simple copy and paste.