Skip to Content Skip to Menu

CB 1.8 Menus are not translated

  • GUEST
12 years 8 months ago - 12 years 8 months ago #192091 by
CB18 and Joomla 2.5.1

Doing a full lang pack, install fine and lang its applied.

2 problems:
A - the Admin menus for the component are not translated
B - the top bar for the component its not translated

[IMG


Solution for A
in \administrator\components\com_comprofiler\language\en-GB
there is a file en-GB.com_comprofiler.sys.ini that can be used to translate the admin menus.
The problem is how to create that file using the Joomla installer?
FTP a translated file inside a folder with my lang its possible but not a good solution
Tried using this code in the CB lang XML (my lang inside an admin folder but it didn't work, no files installed.
Code:
<administration> <files folder="admin"> <filename>pt-PT/pt-PT.com_comprofiler.sys.ini</filename> <filename>pt-PT/index.html</filename> </files> </administration>

Couldn't do it!
I realized that if i included the file pt-PT.com_comprofiler.sys.ini in the joomla admin pt-PT lang folder the menus can be translated.
So it was easy to create a second lang pack for joomla, just with this single lang file (and the XML install!)
Not funny having to install 2 packs, but it works!!


Problem B- No solution found!!
Are those words in any SQL file?
We need those translated too!!

Also hope that next CB version solves this issues and we are able to install just one pack for one language
Last edit: 12 years 8 months ago by .

Please Log in or Create an account to join the conversation.

  • GUEST
12 years 8 months ago - 12 years 8 months ago #192092 by
I found it now the solution for problem B... from the french pack

You need to add extra lines in the admin_language.php
Code:
// Menus pt-PT 'User Management'=>'Utilizadores', 'Tab Management'=>'Separadores', 'Field Management'=>'Campos', 'List Management'=>'Listas', 'Plugin Management'=>'Plugins', 'Tools'=>'Ferramentas', 'Configuration'=>'Configuração', 'Resend Confirmations' =>'Confirmações',
(not sure if the 'Resend Confirmations' its in use!
You can include this lines before the ending tags ));

So this require that the Transifex file should also be updated so everyone can translate it!
www.transifex.net/projects/p/cb/
Last edit: 12 years 8 months ago by .

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum