doki icon indicating copy to clipboard operation
doki copied to clipboard

Add translation support

Open squallsama opened this issue 5 years ago • 3 comments

Right now there is only English version of instructions available via API. It would be great to have ability to get translated text for different languages. If you need any help, then I would be glad to collaborate.

squallsama avatar Nov 07 '19 02:11 squallsama

I'll point to urbandroid-team/dont-kill-my-app#70 in saying it unfortunately doesn't seem like there are plans to support localization in DKMA (if there were, that would be the place to contribute them). I don't necessarily agree with this response, as I think that even incomplete or out of date translations are better than not having any at all, but I respect their decision. It might be good to bring up the discussion again though, and have a look at how it might be implemented in a way that doesn't require as much support from maintainers.

Anyone is welcome to translate the strings in this repo though, which are a lot less maintenance-heavy (as they're only used on a few buttons and UI elements). The translated file should be strings-[locale].xml in the same directory, or you can just send them to me and I'll put them in. I might actually be able to translate a few of these myself :P

It seems I've been somewhat negligent in documenting the contribution process here; I usually try to place this information in the README when possible. Oops.

fennifith avatar Nov 07 '19 02:11 fennifith

I'll point to urbandroid-team/dont-kill-my-app#70 in saying it unfortunately doesn't seem like there are plans to support localization in DKMA (if there were, that would be the place to contribute them). I don't necessarily agree with this response, as I think that even incomplete or out of date translations are better than not having any at all, but I respect their decision. It might be good to bring up the discussion again though, and have a look at how it might be implemented in a way that doesn't require as much support from maintainers.

Anyone is welcome to translate the strings in this repo though, which are a lot less maintenance-heavy (as they're only used on a few buttons and UI elements). The translated file should be strings-[locale].xml in the same directory, or you can just send them to me and I'll put them in. I might actually be able to translate a few of these myself :P

It seems I've been somewhat negligent in documenting the contribution process here; I usually try to place this information in the README when possible. Oops.

Thanks! Will take a look on string.xml. From my vision it's better to have options in json response related to languages.

squallsama avatar Nov 07 '19 13:11 squallsama

Hey guys, we've currently started work on running the content on DKMA through Google Translate so it will be available through the API machine-translated. Please see https://github.com/urbandroid-team/dont-kill-my-app/issues/19

Artaud avatar Dec 04 '19 12:12 Artaud