PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
wpml-string-translation
/
locale
# 1. Preparation 1. Run `npm install`. 2. For good measure, in the `package.json`, run this check: 1. Look for occurrences of `GETTEXT_DOMAIN=`. 2. Check that, after the "=" there is the current plugin's text domain (e.g. `sitepress` for wpml-core). If not, fix it. 3. Check that the `.gitignore` file of the project contains this line: `/locale/jed/**/*.po`. Note that, since WPML-Core embeds Translation Management as a Composer plugin, in `package.json`, you must have two occurrences of `GETTEXT_DOMAIN`: one for Core and another for TM. # 2. Generating or updating the POT files Run `npm run strings:update-pot`. This command will generate or update the POT files for each JS app in `/locale/jed/pot`. You can send these files for translation. # 3. Updating the translations 1. Save the completed translations in `/locale/jed/po`. 2. Run `npm run strings:jed` to generate the JED files in `/locale/jed`. 3. Test the translations. 4. Commit the changes. # 4. Additional notes When committing the changes, you should only commit the POT and JED files (respectively, ``/locale/jed/pot/*.pot` and `/locale/jed/*.json`).
[-] wpml-string-translation-vi.mo
[edit]
[-] wpml-string-translation-ru_RU.mo
[edit]
[-] wpml-string-translation-uk.mo
[edit]
[-] wpml-string-translation-sv_SE.mo
[edit]
[-] wpml-string-translation-ar.mo
[edit]
[-] wpml-string-translation-es_ES.mo
[edit]
[+]
orig
[-] wpml-string-translation-pt_BR.mo
[edit]
[-] wpml-string-translation-de_DE.mo
[edit]
[-] wpml-string-translation-ja.mo
[edit]
[-] wpml-string-translation-he_IL.mo
[edit]
[-] wpml-string-translation-pt_PT.mo
[edit]
[-] wpml-string-translation-it_IT.mo
[edit]
[-] wpml-string-translation-fr_FR.mo
[edit]
[-] wpml-string-translation-zh_CN.mo
[edit]
[-] wpml-string-translation-pl_PL.mo
[edit]
[-] wpml-string-translation-el.mo
[edit]
[+]
..
[-] translating-javascript-strings.md
[edit]
[-] wpml-string-translation-ko_KR.mo
[edit]
[+]
jed
[-] wpml-string-translation-zh_TW.mo
[edit]
[-] wpml-string-translation-nl_NL.mo
[edit]