how to test a new translation?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nervous
    Junior Member
    • Sep 2017
    • 7

    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,
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello

    Copy generated translations from build folder to root espocrm folder

    Comment

    • nervous
      Junior Member
      • Sep 2017
      • 7

      #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...