ThinkInvis / RoR2-TinkersSatchel

A mod for Risk of Rain 2.
GNU General Public License v3.0
4 stars 4 forks source link

About translation #64

Open Sandersshine opened 2 years ago

Sandersshine commented 2 years ago

If i want to provide a translation, what i need to do is to upload a 【.language】 file into 【Lang】folder?

ThinkInvis commented 2 years ago

In theory, yes, in addition to including it in builds (which I don't have automated yet). Language file loading is automatically handled by R2API.LanguageAPI, although I haven't had a chance to test multiple languages yet.

ThinkInvis commented 4 months ago

I've decided that I'd like translations to be maintained and published as standalone mods. This should be entirely possible by uploading a separate mod which contains, other than boilerplate (readme, manifest, etc.), only .language files with relevant names and key/value pairs. If it isn't, I'll try looking for another solution.