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

capture the custom_locale from the API and use it when downloading translations #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

frett
Copy link
Contributor

@frett frett commented Apr 3, 2024

Resolves #13

@frett frett force-pushed the patch/customLocaleSupport branch from e405ec9 to 93e1195 Compare April 3, 2024 17:41
Language("en-US", null, "English (United States)", false, "0.0%"),
Language("pa-IN", null, "Punjabi (India)", false, "93.8%"),
Language("es-ES", null, "Spanish (Spain)", false, "100.0%"),
Language("hi", "Hinglish LAT-IN", "Hindi", false, "98.1%"),
Copy link
Contributor Author

@frett frett Apr 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this language has "custom_locale": "Hinglish LAT-IN" in project_languages_response.json.

This is not actually a valid language tag, and already produces invalid results when downloading from the OneSky UI.
Screenshot 2024-04-03 at 12 06 12 PM

@frett
Copy link
Contributor Author

frett commented Sep 23, 2024

bumping this to see if there is interest before I spend the effort to publish an internal fork for usage in our projects

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

Successfully merging this pull request may close these issues.

When downloading translations the plugin doesn't take any custom locales into account
1 participant