Hello,
Attached.
data/cache/application/languages/es_MX.php is a cache file. You need to clear cache: Administration > Clear Cache
Announcement
Collapse
No announcement yet.
Need help to create lang files from po file
Collapse
X
-
hi Yuri,
I've just finished a whole review of POEditor and our beta tests.
Please proceed to add MX translation to EspoCRM.
Also a new Global.options.language item is needed in order to translate Español(Mexico)
Finally, along with data/config.php, I found data/cache/application/languages/es_MX.php also must be updated and was not included in the es_MX.zip file.
I will wait for the new build with the MX translation to install my production site from scratch, because my language list shows "es_MX" instead "Español(Mëxico)" and I can't fix it.
br,
cesar.
Leave a comment:
-
hi Yuri,
After initial setup, we found and fixed several items.
When we finish our beta tests I'll notify you.
thx again.
cesar.
Leave a comment:
-
Updating on poeditor site is fine. Please let me know when you are finished. Thanks.
Leave a comment:
-
hi Yuri,
Thank you very much!
I will really appreciate it.
I uploaded both folders directly in our server and it seems to be working ok.
We'll be doing small adjustments now and then as we use your system.
I pretend to update POEditor portal and post here the updated files.
I'll update manually es_MX, based in your previous post, as I don't have node running
br,
cesar.
Leave a comment:
-
Hi Cesar,
Attached. Can we add your translation to EspoCRM?
ThanksAttached Files
Leave a comment:
-
hi,
Please use this updated version to create json files.Attached Files
Leave a comment:
-
hi,
After googling a lot, I found node must be ran from cmd, instead into the node window itself...
Then I copied install files to the npm directory, as I've a lot of errors because of missing files.
1st. step from github "node po.js es_MX" ran but result file espocrm-es_MX.po file has only empty msgstr strings, so I deleted it and renamed EspoCRM_SpanishMX.po file I've downloaded from PO Editor, as espocrm-es_MX.po instead, inside build folder
Now when tried "node lang.js es_MX" I received this error:
module.js:471
throw err;
^
Error: Cannot find module 'pofile'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (N:\lang.js:37:10)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
I'm stuck again, maybe Grunt CLI is not installed or something else...
Can you provide some help?
Leave a comment:
-
hi,
A friend of mine told me Node could be installed in Windows, so I did it.
After installing, when I click on Node icon, a Command Prompt with a ">" appears on screen.
Can you provide me further instructions to convert PO file to the lang pack?
br,
cesar.
Leave a comment:
-
Need help to create lang files from po file
hi,
I've already finished es_MX translation in POEditor and I'm attaching my PO file.
I need your help to create lang files for es_MX.
Also, I already modified data/config.php to add es_MX
Do I need to create manually /public_html/espocrm/application/Espo/Resources/i18n/es_MX directory?
Then, I would like your help to create json files by myself in the future:
I don't know where the "build directory" is located, I assumed html_public/espocrm, is it ok?
So, I uploaded EspCRM_Spanish_MX.po file into html_public/espocrm
As I don't have linux but in my web server, I tried to run cPanel ConfigServer Explorer's Command: node lang.js es_MX but nothing happened (maybe I don't have node installed)
As translations change a lot, couldn't you put a special folder in node capable server (maybe with usr/psw and verified email if you wish) in order to upload a po file and download the lang files?
thank you for your help,
cesar.
19/jun update: drop outdated po file to avoid confusion.Last edited by cesarf; 06-19-2017, 09:01 AM.Tags: None
Leave a comment: