Skip to content

YoungLionIV/stateofcommand-localization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 

Repository files navigation

State of Command Localization

This repository contains the community translation files for State of Command.

Anyone is welcome to help improve translations or add support for new languages.


How To Contribute

  1. Create a fork through the fork button
  2. Open the locales folder
  3. Select your language file
  4. Click the pencil icon near the top-right
  5. Edit translations
  6. Click Commit changes
  7. Open a Pull Request

To make a new file:

  1. Create a fork through the fork button
  2. Open the locales folder
  3. Click Add file near the top-right and select Create new file
  4. Name the file using your language code (e.g., en.txt)
  5. Paste the original text from en.txt and add your translations
  6. Click Commit changes
  7. Open a Pull Request

translate only the values after =.

No software installation is required.


Translation Rules

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.


IMPORTANT — Formatting Tokens

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


Comments

Lines starting with # are comments and provide translation context.

Example:

Main Menu

These comments do not need translation.


Encoding

All files should remain UTF-8 encoded.

About

State of Command Localization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors