Other
Translations
Cargo is developed in English. However, if you speak another language, you're more than welcome to contribute translations back to Cargo.
Any validation messages on the frontend or text in the Control Panel can be translated.
Configuration
You can read more about changing the language used in the Control Panel over on the Statamic docs.
Contributing translatins
- In your app, create a
{locale}.jsonfile in thelangdirectory (orresources/langfor older apps).- The locale should follow the language code standard.
- Find a list of the translatable strings by searching
__(in Cargo's code. - In the JSON file you created, ensure the key is the English text and the value is your translated text:
{
"Orders": "**Bestellungen**"
}
- Follow these steps if you'd like to contribute your translations to Cargo:
- Fork the
statamic-cargorepository - Copy your JSON file into the
langdirectory. - Commit, push and open a pull request
- Fork the