Skip to content

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is an open source repository for translations for Node games by ByerN: https://store.steampowered.com/app/3648370/Node_Math/ https://store.steampowered.com/app/4326740/Node_Crown/

Contribution Guidelines

Thank you for helping translate the game!

By submitting your translation to this project, you confirm that:

  • you are the author of your contribution or have the right to share it,
  • you agree to release your translation under the Apache License 2.0,
  • you understand that your translation may be used in the game and in materials related to it (both commercial and non-commercial).

This ensures that everyone - including the game's author - can safely use and distribute your translations.

How to join community-driven translations?

  • create and activate your GitHub account,
  • send me a private message with your GitHub username (or email used for registration) on the Discord server: https://discord.com/invite/sfgr7YCv2z
  • when I get a message, I will accept you as a contributor,
  • now you can edit files and create new ones.

How to add a new translation?

  • open a directory with game translations, for example Node Math: image
  • click create new file image
  • add a file name (for example "chinese.txt"), add the content of translations, and click "Commit changes..." image
  • to simplify the process, you just click "Commit changes" in the next step image
  • after this, you should see your file here: image
  • last thing is to update "translations-config.txt"

How to edit translations-config.txt

If you want a new translation to be listed in the game, you have to edit "translations-config.txt" configuration file.

It may look like this:

eng,english,Lato-Bold.ttf,1f,1f
pol,polish,Lato-Bold.ttf,1f,1f
rus,russian,NotoSans-Bold.ttf,0.95f,0.85f
ukr,ukrainian,NotoSans-Bold.ttf,0.95f,0.85f
zho,chinese,NotoSansSC-Bold.otf,1f,0.5f
jpn,japanese,NotoSansJP-Bold.otf,1f,0.5f
ger,german,Lato-Bold.ttf,1f,1f
    1. column - ISO language code (3 letters) https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes
    1. column - translations file name (without .txt extension)
    1. column - font
    1. column - font size multiplier (1f is a default)
    1. column - autowrapping multiplier - it affects how many characters can be in one line of autowrapped text (for example, tutorial/on-hover hints). If the text is overflowing, you can decrease this value (or font size but font size affects all the text)

Also, there are the following fonts available in the game (let me know if you see your language missing with a different alphabet):

  • any Latin-based alphabet: Lato-Bold.ttf
  • Arabic: NotoSansArabic-Bold.ttf
  • Japanese: NotoSansJP-Bold.otf
  • Chinese: NotoSansSC-Bold.otf

(Any new fonts will probably be from the Nato Sans family as well)

How to edit the config file:

  • click on the config file image
  • click edit file image
  • edit file and commit changes image
  • accept commit image
  • done. Now you can ping me on Discord so I can check if everything is ok and upload it into the game :)

How to test your changes in the game?

You can edit both the translation files and the config file in the game. Fonts are in the "fonts" folder.

Steam Store page translations

Starting with Node Crown, there is also the Steam store page translation JSON in a separate file: https://github.com/ByerN/node-games-localisation/tree/main/store-page

About

This is an open source repository for translations for Node games by ByerN

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors