Translate backend

15 views
Skip to first unread message

Dennis Gabriel Kruk

unread,
Jul 15, 2016, 6:00:15 PM7/15/16
to QuickApps CMS
Hello everyone!

I'm trying to translate backend QuickAppsCMS. So if CMS based on CakePHP 3, after registration language in Admin Panel I should proceed as described here
http://book.cakephp.org/3.0/en/core-libraries/internationalization-and-localization.html

but it doesn't work. Even when I clear all from /tmp folder.

For example:
1. I registration my language in admin panel - Polish with /pl short code (I try use pl_PL and pol)
2. I want translate blocks module, so I create /pl folder in /block/src/Locale and copy block.pot file to my /pl folder. 
3. I translate something and clear all from /tmp
4. When I refresh admin page or load it again - nothing changes. 

What I'm doing wrong? 

P.S. I'm sorry for my english.

Christopher Castro

unread,
Jul 16, 2016, 9:31:30 AM7/16/16
to quicka...@googlegroups.com
Hi there,

For translating QACMS you should translate each QACMS's core-plugin. This process is just identical as any other Cake's plugin as described in the CookBook.

Each plugin has its own `/src/Locale/` directory, there you should place your ".po" translation files.

---

For instance, if you wish to translate the QACMS's core plugin "System" to Polish then you shoud:

1. Locate the "Locale" folder of this plugin, it should be at `ROOT\vendor\quickapps-plugins\system\src\Locale\`
2. Create the "pl" directory: \vendor\quickapps-plugins\system\src\Locale\pl\
3. Copy the file "\vendor\quickapps-plugins\system\src\Locale\system.pot" to "\vendor\quickapps-plugins\system\src\Locale\pl\system.po" (extension changed)
4. Use PoEdit or similar software to translate this new .po file
5. Go to QACMS and register the Polish language as in this picture:

Imágenes integradas 1

PS: Remember to clear your temporary files after all this

---

Best Regards,
Chris

--
You received this message because you are subscribed to the Google Groups "QuickApps CMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quickapps-cm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Christopher Castro.
I.T. Engineer. Senior Web Developer.
Pamplona, Spain
QuickApps CMS

Dennis Gabriel Kruk

unread,
Jul 17, 2016, 8:56:14 AM7/17/16
to QuickApps CMS, ch...@quickapps.es
It works! Thank you! 
Reply all
Reply to author
Forward
0 new messages