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

  1. In your app, create a {locale}.json file in the lang directory (or resources/lang for older apps).
  2. Find a list of the translatable strings by searching __( in Cargo's code.
  3. In the JSON file you created, ensure the key is the English text and the value is your translated text:
{
"Orders": "**Bestellungen**"
}
  1. Follow these steps if you'd like to contribute your translations to Cargo:
    1. Fork the statamic-cargo repository
    2. Copy your JSON file into the lang directory.
    3. Commit, push and open a pull request