Files
CodenameEngine/assets/languages/README.md
T
⍚~NexandGitHub 4f834169f3 specifyin
its better trust me sob
2025-08-10 22:23:46 +02:00

1.1 KiB

Translations

Adding a new language

  1. Create a new folder in this folder with the language's code. Using the ISO 3166-1 codes for the language. (ex: en for English, es for Spanish, etc) (For full list of codes, see here)

  2. Create a config.ini file in the folder with the following contents:

name="Your Language Name in translated language"
credits="Your Name (your github username)"
version="version based on the English config.ini version"
  1. Copy the xml files from the en (English) folder and paste them in the new folder.

  2. Translate the texts in the copied xml files. The {0} and {1}, and so on are placeholders are used for variables, and should be left as is.

  3. If you wanna help us with the language(s) you added in the engine: Make a pull request with your changes. Make sure the pull request is labeled as [LANG] Add <language name> or [LANG] Update <language name> or [LANG] Fix typo in <language name>, generally anything is allowed but it has to contain the language name.