Code Monkey home page Code Monkey logo

oneskyapp-maven-plugin's People

Contributors

debueb avatar dwissk avatar

Stargazers

 avatar  avatar

Watchers

 avatar

oneskyapp-maven-plugin's Issues

Enable deprecation of missing uploaded keys

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.

Do not add _locale to filename when downloading the reference language

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.