debueb / oneskyapp-maven-plugin Goto Github PK
View Code? Open in Web Editor NEWMaven plugin to download and upload translation files on oneskyapp.com
Home Page: https://oneskyapp.com
Maven plugin to download and upload translation files on oneskyapp.com
Home Page: https://oneskyapp.com
There is a flag "is_keeping_all_strings" in the API (see: https://github.com/onesky/api-documentation-platform/blob/master/resources/file.md#upload---upload-a-file). Setting this flag to false will deprecate (remove) the phrases in onesky that are missing/removed in the uploaded file. We use this quite often, because we constantly change our software, and add and remove translations from our files.
As far as I know, the plugin currently doesn't support this flag. It would be nice if it did.
We also maintain our reference language on onesky and therefore have to download that as well. I have noticed that if I add the reference language to the locale list the file Messages.properties is not overwritten, but a Messages_en.properties is created. It would be nice if we could set the reference language locale in the configuration and the plugin would overwrite the Messages.properties in that case.
My config:
<execution>
<id>download</id>
<goals>
<goal>get-translations</goal>
</goals>
<configuration>
<sourceFileNames>
<param>Messages.properties</param>
<param>ValidationMessages.properties</param>
</sourceFileNames>
<locales>
<param>de</param>
<param>fr</param>
<param>it</param>
<param>en</param>
</locales>
<outputDir>src/main/resources</outputDir>
</configuration>
</execution>
Great job on the plugin, btw.. thanks a lot!
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.