Skip to content

Commit 342318f

Browse files
authored
Merge pull request #1691 from plone/erral-improve-volto-i18n-docs
document that when providing Volto translation one needs to run `yarn i18n`
2 parents e9d9be6 + 21cfbdc commit 342318f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/i18n-l10n/contributing-translations.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Optionally sign the [Plone Contributor Agreement](https://plone.org/foundation/c
4040

4141
The process of translating Plone Classic UI is the following.
4242

43-
1. Go to https://github.com/collective/plone.app.locales and clone it into your computer.
43+
1. Follow the instructions to set up Volto for development as described in {doc}`../volto/contributing/developing-core`.
4444

4545
2. Create a new branch to work on your translations.
4646
Name the branch with something identifiable.
@@ -75,7 +75,10 @@ The process of translating the Volto frontend is the following.
7575
- To update a translation, translate your language's `po` file found at `locales/{language_code}/LC_MESSAGES/volto.po`.
7676
- To create a new translation, create a new directory at `locales/{language_code}/LC_MESSAGES/`, copy the file `locales/volto.pot` to `locales/{language_code}/LC_MESSAGES/volto.po` (note to drop the trailing `t`), and start translating.
7777

78-
4. Commit your changes, and create a pull request.
78+
4. Run `yarn i18n` to convert your `po` files into `json`.
79+
Volto loads these `json` files to provide translated text strings in the interface.
80+
81+
5. Commit your changes, and create a pull request.
7982

8083
(contributing-weblate-for-translations)=
8184

0 commit comments

Comments
 (0)