Giter VIP home page Giter VIP logo

enigmatranslation's Introduction

EnigmaTranslation

This is the hub for internationalization and localization of Enigma Engine. These files are used to translate the UI into different languages.

Through the provided locale folders, assets can be translated, including but not limited to text, images, and audio. When the game is built, the translations are pulled from this repository and compiled into the game.

Adding a new language

Follow these steps to add a new language:

  1. Create a new language folder with the correct locale code for your language.
    • The locale code is based on the language as well as the region you wish to translate for. For example, Braziliian Portuguese is pt-BR.
    • As an example of regions, American English is en-US, where as British English is en-GB.
  2. Add the corresponding entries to the index.xml file.
    • You will need to add a new <locale> tag, which will provide a list of contributors.
    • You will also need to provide translations for basic UI elements needed for the user interface, such as the "Okay" button.
    • You will also need to go to the other languages and provide a translation for the name of your language. For example, the Portuguese language needs to contain the Portuguese words for French, Italian, German, English, etc.
  3. Add the translations to the locale's folder.
    • Be sure to translate text and, if able, images and audio assets.

Replacement characters

Some special characters will cause translation to break. Use Firetongue's special replacement characters to deal with these situations:

<Q>  = Standard single quotation mark ( " )
<LQ> = Fancy left quotation mark ( “ )
<RQ> = Fancy right quotation mark ( ” )
<C>  = Standard comma
<N>  = Line break
<T>  = Tab
<RE>[$SOME_FLAG] = Replace with the value of the flag

Contributions

Contributions to this project are HIGHLY encouraged.

enigmatranslation's People

Contributors

elitemastereric 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.