Announcement

Collapse
No announcement yet.

how to test a new translation?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to test a new translation?

    Hi,

    I've followed the instructions in README.md to update the italian translation file:

    - I have lang.js and po.js in the root of espocrm sources
    - I install pofile: npm install pofile
    - I run: mkdir build/ followed by: node po.js it_IT
    - I update build/espocrm-it_IT.po
    - I run: node lang.js it_IT

    After this, I go to Administration and click on "Empty Cache" and "Rebuild"

    Just to be sure, I also clean the browser cache.

    However I still see the old italian translation. What am I missing?

    Help appreciated,

  • #2
    Hello

    Copy generated translations from build folder to root espocrm folder

    Comment


    • #3
      Thanks that was it! How could I miss that

      I entered the DocumentRoot of EspoCRM and ran: cp -a build/it_IT/. .

      Then I did again clean cache/rebuild + clear browser cache.

      Comment

      Working...
      X