Author Topic: Translation packet doesn't working.  (Read 1060 times)

Offline cyberliem

  • Coccinella
  • *
  • Posts: 10
  • Karma: +0/-0
Translation packet doesn't working.
« on: 24 January 2016, 10:52:30 »
Hi there,

I've modified an French translation into a Vietnamese translation packet (we use the same unicode encoding). The packet was installed successful, however, when I went to front end, it's supposed to appear in French, however, all the thing is still in English.

Anybody has an ideal why?

Thank you.

Offline cyberliem

  • Coccinella
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Translation packet doesn't working.
« Reply #1 on: 24 January 2016, 11:01:11 »
I've check the view/tmp/default.php for book, the code to print the world author was:

 JText::_('COM_ABOOK_CATEGORY');

It fitted to the Joomla Documentation. and I've also check the installation forder, the language packet is there (vi-VN). The file is there as well : vi-VN.com_abook.ini

But when I go to the links:

http://128.199.67.137/index.php?option=com_abook&view=book&id=90:a-is-for-america&catid=13:alphabet&Itemid=942&lang=vi

all the word (for example, COM_ABOOK_CATEGORY supposed to be Cat├ęgorie, however it's still category.

I've tried to delete cache, but it doesn't work either.

Offline cyberliem

  • Coccinella
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Translation packet doesn't working.
« Reply #2 on: 24 January 2016, 11:13:48 »
I found a solution, when I enable the language debug, I saw that the file ROOT/Component/Com_abook/Languages/vi-vn/vi-VN.com_abook.ini is not loaded. It instead load directly from ROOT/Languages/Vi-VN, so I moved the file there. Problem is solved.

Offline federica

  • Amministratore
  • Delfino
  • *****
  • Posts: 1.048
  • Karma: +1/-0
Re: Translation packet doesn't working.
« Reply #3 on: 26 January 2016, 09:43:30 »
Yes, this is the old post where I wrote how to fix translation problem.
http://forum.voxpopulix.org/supporto-(support)/language/msg2679/#msg2679
Generally, you have to delete every existing "com_abook" language file in bot path ROOT/administrator/language/zz-ZZ and ROOT/language/zz-ZZ then load the language files in the abook language folders (ROOT/component/com_abook/languages/zz-ZZ and ROOT/administrator/component/com_abook/languages/zz-ZZ)
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
http://www.antivirushelp.it
stacca la spina!