Airsaid / AndroidLocalizePlugin

:earth_asia: Android localization plugin. supports multiple languages and multiple translators.
https://plugins.jetbrains.com/plugin/11174-androidlocalize
Apache License 2.0
582 stars 91 forks source link

Different base folder #146

Open wieslawo opened 1 year ago

wieslawo commented 1 year ago

Hi,

Would be possible add to configuration base folder from which we start translation? Now there is only option to translate from values/strings.xml, I would like to translate from folder values-pl/strings.xml. So in my case base text is in folder values-pl and others are base on this.

Good job done, best regards Wieslaw

Airsaid commented 1 year ago

Hi,

This sounds a bit unusual, as in Android, the "values" directory is typically where primary translations are placed. It's used when there's no match for a specific language.

Could you provide more details about the situations of supporting other directories as the base? If such an approach were to be taken, it would imply that the string files within the "values" directory would need to be translated, but the plugin is not certain about which language would serve as the base.

wieslawo commented 1 year ago

Hi,

I will describe my problem. I'm from Poland and we have two folders with texts values and values-pl. We want add another translation to ukrainian language. Using your plugin transaltion is done from folder values to values-uk, translation from English to Ukrainian is being made. We would like to translate from Polish into Ukrainian. I don't know how to do it with this plugin.

Best regards Wieslaw