Editing a Language
Manage a language's order, default role, and all shared texts in one place to keep the panel, website, and notifications linguistically consistent.
Reaching the Screen
Open Languages then Browse Languages, and click the language you want (or use Edit in its row menu): {admin}/languages/edit?key={language}
The key in the address is the language's own short code, the one printed next to its title in the list and the one that appears in your site's addresses.
What Is on the Screen
A single form. The upper rows are the language's own record and are saved together; the last row is a panel of text tools that act on their own.
Language Texts
This panel is a round trip. You export the texts the language pack carries under coremio/locale as one JSON file, edit the wording offline, and load the same file back. The keys, the nesting and the variables come back exactly as they left, which is what makes a bulk edit safe to repeat.
It is the language pack, not everything a language touches. Routing, package and SMS settings files are left out because they carry addresses and settings rather than wording, and rewriting them would break the screens instead of rephrasing them. A few files that do carry wording are also left out because they have a screen of their own: the home page blocks belong to the theme settings, and the site constants to the general settings. Module texts, theme texts and the notification templates stay outside the round trip as well.
Every file a load rewrites is copied first, so a bulk edit always has a way back. Two kinds of copy sit side by side under coremio/storage/language-backups: the state before the very first load ever ran, and the state just before each individual load.
What the Load Refuses
A load is a wording change, never a structural one. Four things are counted and skipped rather than written, and the message after the load tells you how many of each there were.
Fields
Tasks
Make this the default language
- Tick Default Language. The box is locked when this language already is the default.
- Save. The role moves here: this language's addresses drop the language code, the previous default starts carrying its own, and this language can no longer be switched off.
Change where the language is listed
- Type a number in Sort Order.
- Save. The language takes its new place in the language list and in the picker your visitors see.
Edit the texts in bulk
- Use Export as JSON. The downloaded file holds the texts the language pack carries, grouped by the file each one lives in.
- Change only the wording. Leave the keys, the variables such as {name} and the HTML tags exactly as they are.
- Use Load JSON, pick the edited file, then Apply and confirm.
- The screen reloads and reports how many texts and files changed, what was left untouched, and where the previous version was kept.
Undo a bulk edit
- Use Restore Defaults. The button is closed until this language has been loaded into at least once, because until then it is already in its default state.
- Confirm. Every text goes back to the wording the language shipped with, the version being replaced is kept as a backup first, and the screen reloads with the number of files restored.
Things to Watch
The default language is the one served without a language code in the address; every other language carries one. Moving the role therefore rewrites which addresses your visitors and search engines see, on both languages at once. Decide it early rather than after the site has been indexed.
These texts are shared: one line can appear in the panel, on the site and in an e-mail. The load protects the structure for you by skipping anything whose keys, variables or tags changed, but it cannot judge the wording. A future update may also replace what you loaded, so keep your edited file.
It returns to the state before the first load ever ran, not to the load before the last one, so a series of edits comes off in one step. It is reversible in turn: the version it replaces is copied under coremio/storage/language-backups before anything is written.
Required Privileges
The language section opens for staff holding LANGUAGES_LOOK or LANGUAGES_OPERATION. This screen itself needs LANGUAGES_OPERATION: opening its address without it returns the language list instead. Saving, exporting, loading a file and restoring defaults all run under that same permission.
Related Articles
Merci pour votre retour !
Notre équipe d'assistance est disponible 24h/24 pour tout ce que vous ne trouvez pas ci-dessus.