Git Product home page Git Product logo

city-game-studio-i18n's Introduction

City Game Studio translations

A repository for City Game Studio's translation efforts. There are only two folders:

  • languages contains a list of files for every supported languages
  • steam-page contains two files for every supported languages, one for the short description, one for the long description

Contributing languages

A language is just a yaml file that maps phrases in English to phrases in another language. Here's a small example:

# Comments start with an octothorpe
# Write whatever notes are necessary in a comment

# Here's a mapping of a hypothetical City Game Studio phrase:

TOOLTIP_RECRUIT: List potential candidates available in town

Mappings will appear as:

IDENTIFIER: [Phrase printed according to language options]

When translating languages type the translated phrase below the English phrase. Here is an example of a hypothetical Spanish translation:

TOOLTIP_RECRUIT: Lista de posibles candidatos disponibles en la ciudad.

Sometime a phrase might contain a parameter. It is always %s.

# First [b]%s[/b] matches the manufacturer of the platform
# Second [b]%s[/b] matches the platform's name
LABEL_PLATFORM_RELEASED_DESCRIPTION: "[b]%s[/b] has released a new platform: '%s'"

To print a single % we need to double it: %%.

LABEL_LOAN_DESCRIPTION: >
    You need some extra money, we can help you. You can refund yourself with a loan of [b]%s$[/b].
    Our interests rates are as low as only [b]%s%%[/b], and you have [b]%s[/b] weeks to repay.
    Its like a whole life for a company like yours. We are your last option, let yourself be tempted.

All languages files should be named [language].yaml.

Contact

If you have questions about contributing contact us or send an email to [email protected].

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.