Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binogure-studio/city-game-studio-i18n
Translation files for City Game Studio
https://github.com/binogure-studio/city-game-studio-i18n
city-game-studio citygamestudio language roadmap supported-languages translation
Last synced: 2 days ago
JSON representation
Translation files for City Game Studio
- Host: GitHub
- URL: https://github.com/binogure-studio/city-game-studio-i18n
- Owner: binogure-studio
- Created: 2018-09-30T17:50:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-09T06:24:01.000Z (6 months ago)
- Last Synced: 2024-05-09T07:31:36.694Z (6 months ago)
- Topics: city-game-studio, citygamestudio, language, roadmap, supported-languages, translation
- Language: JavaScript
- Homepage: https://www.city-game-studio.com
- Size: 7.61 MB
- Stars: 52
- Watchers: 14
- Forks: 101
- Open Issues: 193
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# [City Game Studio](https://www.city-game-studio.com) translations
A repository for City Game Studio's translation efforts. There are only two folders:
- **languages** contains a list of files for every supported languages
- [**steam-page**](https://store.steampowered.com/app/726840/City_Game_Studio/) contains two files for every supported languages, one for the short description, one for the long description
- [**gog-page**](https://www.gog.com/game/city_game_studio_a_tycoon_about_game_dev)## Contributing languages
A language is just a yaml file that maps phrases in English to phrases in another
language. Here's a small example:```yaml
# Comments start with an octothorpe
# Write whatever notes are necessary in a comment# Here's a mapping of a hypothetical City Game Studio phrase:
TOOLTIP_RECRUIT: List potential candidates available in town
```Mappings will appear as:
```yaml
IDENTIFIER: [Phrase printed according to language options]
```When translating languages type the translated phrase below the English phrase.
Here is an example of a hypothetical Spanish translation:```yaml
TOOLTIP_RECRUIT: Lista de posibles candidatos disponibles en la ciudad.
```Sometime a phrase might contain a parameter. It is always `%s`.
```yaml
# First [b]%s[/b] matches the manufacturer of the platform
# Second [b]%s[/b] matches the platform's name
LABEL_PLATFORM_RELEASED_DESCRIPTION: "[b]%s[/b] has released a new platform: '%s'"
```To print a single `%` we need to double it: `%%`.
```yaml
LABEL_LOAN_DESCRIPTION: >
You need some extra money, we can help you. You can refund yourself with a loan of [b]%s$[/b].
Our interests rates are as low as only [b]%s%%[/b], and you have [b]%s[/b] weeks to repay.
Its like a whole life for a company like yours. We are your last option, let yourself be tempted.
```
All languages files should be named `[language].yaml`.## Tool
http://pollly.orson.io/ is a great static website that will help you to translate yaml files.
## Contact
If you have questions about contributing [contact us](https://www.city-game-studio.com)
or send an email to [email protected].