This repository contains the community translation files for State of Command.
Anyone is welcome to help improve translations or add support for new languages.
- Create a fork through the fork button
- Open the
localesfolder - Select your language file
- Click the pencil icon near the top-right
- Edit translations
- Click Commit changes
- Open a Pull Request
To make a new file:
- Create a fork through the fork button
- Open the
localesfolder - Click Add file near the top-right and select Create new file
- Name the file using your language code (e.g.,
en.txt) - Paste the original text from en.txt and add your translations
- Click Commit changes
- Open a Pull Request
translate only the values after =.
No software installation is required.
Only edit the text after the = sign.
Example:
menu.button.start_game=Start Game
↓
menu.button.start_game=Commencer la partie
Do NOT modify the key names on the left side.
Some translations contain formatting tokens like:
%d %s %.1f %% %zu
These MUST remain unchanged or the game may break.
Example:
ui.tooltip.morale=Morale: %.1f
Correct translation:
ui.tooltip.morale=Morale : %.1f
Incorrect translation:
ui.tooltip.morale=Morale
Lines starting with # are comments and provide translation context.
Example:
These comments do not need translation.
All files should remain UTF-8 encoded.