brainly / onesky-gradle-plugin Goto Github PK
View Code? Open in Web Editor NEWGradle plugin for syncing Android projects strings files in OneSky service
License: MIT License
Gradle plugin for syncing Android projects strings files in OneSky service
License: MIT License
OneSky allows you to set a custom locale for a language:
When downloading translation files from the OneSky website it respects this custom locale, but the plugin currently uses the original locale.
It appears that the fetch project languages API has an undocumented custom_code
attribute that is returned for languages.
Sample response from one of our projects:
{
"code": "lv-LV",
"custom_locale": "lv",
"english_name": "Latvian (Latvia)",
"is_base_language": false,
"is_ready_to_publish": false,
"last_updated_at": "2024-03-28T20:38:38+0000",
"last_updated_at_timestamp": 1711658318,
"local_name": "Latviešu (Latvija)",
"locale": "lv",
"region": "LV",
"translation_progress": "100.0%"
},
{
"code": "te-IN",
"custom_locale": null,
"english_name": "Telugu (India)",
"is_base_language": false,
"is_ready_to_publish": false,
"last_updated_at": "2023-12-29T22:22:27+0000",
"last_updated_at_timestamp": 1703888547,
"local_name": "తెలుగు (భారత దేశం)",
"locale": "te",
"region": "IN",
"translation_progress": "59.4%"
},
It would be nice if the plugin respected the custom_locale when downloading a translation.
Currently translations are being downloaded one by one - would be worth it to try to download more at a time.
OneSky's API limitation should be considered.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.