Skip to content

Latest commit

 

History

History
59 lines (27 loc) · 2.94 KB

CONTRIBUTING.md

File metadata and controls

59 lines (27 loc) · 2.94 KB

Contributing to POAPin

⌐◨-◨- Thank you for your interest in POAPin, and please join us in making it better!

Internationalization

We wish people all over the world to be able to use POAPin in a language they are familiar with. No one can master all languages, and it will take a long time to get the POAPin app to support multiple languages, but we believe we can get there soon with everyone's help!

Here's an example where you don't need to know how to code and can complete the entire task on the web. Very simple.

  1. Locate the language file that you are familiar with

    Visit this folder: lib/common/translations/languages

    Here are the meanings of these language file names:

    'de': DeTranslations.map, // [German](Deutsch)
    'es': ESTranslations.map, // [Castellano](español)
    'fr': FRTranslations.map, // [French](français)
    'ja': JaTranslations.map, // [Japanese](日本語)
    'ko': KoTranslations.map, // [Korean](한국어)
    'ru': RuTranslations.map, // [Russian](ру́сский)
    'th': ThTranslations.map, // [Thai](ภาษาไทย)
    'tr': TrTranslations.map, // [Turkish](Türkçe)
    'uk': UkTranslations.map, // [Ukrainian](українська)
    'vi': ViTranslations.map, // [Vietnamese](Tiếng Việt)
    'zh_CN': ZhCNTranslations.map, // [Simplified Chinese](简体中文) - China
    'zh_HK':
    ZhHKTranslations.map, // [Traditional Chinese](繁体中文) - Hong Kong
    'zh_TW': ZhTWTranslations.map, // [Traditional Chinese](繁体中文) - Taiwan

  2. Open the language you want to contribute to

    Here is an example in 🇯🇵Japanese🇯🇵, let's open ja.dart

    Click the Edit button to enter the online editor.

    Find the text you can translate, remove the // at the beginning of a line and replace the second half of the line with the translation for the corresponding language. Replace Home with ホーム, for example:

    That's it!

  3. Commit your file

    Select Create a New Branch, as shown in the figure. And Propose changes

    Next, Draft pull request or Create pull request. If you want to keep editing, don't want to be merged right away, choose Draft.

  4. You made it!

    If the translation is good, your contribution will be merged into the codebase, 👀 and you will see it in the next version of the app.

    The language selection dialog shows the translation progress in a specific language, so let's collaborate to accomplish more! 🎉