doxxx / ffxiv-craft-opt-web

Web frontend for FFXIV Crafting Optimizer service.
zlib License
224 stars 198 forks source link

How to add a new language #136

Closed billxc closed 7 years ago

billxc commented 7 years ago

Hi Doxxx,

First thank you for your great work for this wonderful tool. It helps me a lot with my FFIV crafting.

I am a Chinese FFIV pleayer, and I would like to export the macro in Chinese, because our Chinese client only support macro in Chinese.

So I want to add a new language for Chinese, and I did find how to do it.

Regards, Bill

doxxx commented 7 years ago

The translation files are here: https://github.com/doxxx/ffxiv-craft-opt-web/tree/master/app/locale

And you will also have to add the language here: https://github.com/doxxx/ffxiv-craft-opt-web/blob/master/app/js/services/locale.js

billxc commented 7 years ago

Thanks, it works. But I also find that I need to add translation for files in this folder. https://github.com/doxxx/ffxiv-craft-opt-web/tree/master/app/data/recipedb In my case, I just copied the names from English

doxxx commented 7 years ago

Yes. I got those names from the Lodestone website. Do they have a Chinese Lodestone website?

billxc commented 7 years ago

I'm afraid not.

doxxx commented 7 years ago

If you can provide a pull request with the changes, I can get it onto the main site. Although if you have trouble accessing our website from China I guess there's not much point in doing that.

billxc commented 7 years ago

Thanks, Translation is huge work, but it seems that someone already finished that work. I will try to negotiate with the guy.

doxxx commented 7 years ago

This has been merged into master from #138 and uploaded to the beta site (ffxiv-beta.lokyst.net).