We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
We have a requirement where we need to reuse the same lang file for "different" locale.
Right now you can only have a 1 to 1 mapping: <param>zh-Hans</param> => <zh-Hans>zh</zh-Hans>
<param>zh-Hans</param> => <zh-Hans>zh</zh-Hans>
That means that if you want to have the translation in two folders (like zh-Hans and zh) you can't do it with the plugin.
What would be fine is the option to manage it in the plugin, either by adding several tags for same lang
<targetLanguages> <param>zh-Hans</param> <param>zh-Hant</param> </targetLanguages> <languageMap> <zh-Hans>zh</zh-Hans> <zh-Hans>zh-Hans</zh-Hans> <zh-Hant>zh-tw</zh-Hant> <zh-Hant>zh-Hant</zh-Hant> </languageMap>
Or by using a value separator
<targetLanguages> <param>zh-Hans</param> <param>zh-Hant</param> </targetLanguages> <languageMap> <zh-Hans>zh;zh-Hans</zh-Hans> <zh-Hant>zh-tw;zh-Hant</zh-Hant> </languageMap> <languageMapSeparator>;</languageMapSeparator>
Meaning that we will be able to output this folder structure without doing post plugin execution action /zh /zh-Hans /zh-tw /zh-Hant
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
We have a requirement where we need to reuse the same lang file for "different" locale.
Right now you can only have a 1 to 1 mapping:
<param>zh-Hans</param> => <zh-Hans>zh</zh-Hans>
That means that if you want to have the translation in two folders (like zh-Hans and zh) you can't do it with the plugin.
What would be fine is the option to manage it in the plugin, either by adding several tags for same lang
Or by using a value separator
Meaning that we will be able to output this folder structure without doing post plugin execution action
/zh
/zh-Hans
/zh-tw
/zh-Hant
The text was updated successfully, but these errors were encountered: