Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different base folder #146

Open
wieslawo opened this issue Aug 24, 2023 · 2 comments
Open

Different base folder #146

wieslawo opened this issue Aug 24, 2023 · 2 comments

Comments

@wieslawo
Copy link

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
Copy link
Owner

Airsaid commented Aug 24, 2023

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants