Giter Club home page Giter Club logo

gxlate-plugin's Introduction

gxlate-plugin

A tool set and Maven plugin for uploading English properties bundles to a Google spreadsheet and downloading translated ones.

How to setup:

  1. Set up a google docs folder with a spreadsheet, like this.

  2. In the template tab, add columns for each language to be translated, matching the pattern in the sample (which just has FR).

  3. Copy and rename the template tab for each properties file you need to localize. For example, if you have global.properties, create a copy of the tab named global.

  4. Add the plugin to your maven project. It should look something like this, except with your project's property values:

    ... <gxlate.propsDir>src/main/resources/i18n</gxlate.propsDir> <gxlate.languages>FR</gxlate.languages> <gxlate.folderId>0B8jsTQHTM3a-WkNXWTRYSUkwcWM</gxlate.folderId> ... ... ... com.threerings.maven gxlate-maven-plugin 1.0-SNAPSHOT ... ...

  5. Add your Google username and password in your settings.xml (or anywhere else maven allows):

    [email protected] XXXX
  6. (Optional) get additional help in the usual way:

    mvn help:describe -Dplugin=com.threerings.maven:gxlate-maven-plugin -Ddetail

How to use:

  1. Upload all your new and changed English strings to the spreadsheet:

    mvn gxlate:upload

  2. Get your translators or beta testers to input new strings in appropriate languages. Note that they need to clear the value from the "Verified" column to denote that the text is ready to use.

  3. Download new strings into localized bundles

    mvn gxlate:download

gxlate-plugin's People

Contributors

jamie-threerings avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.