CB localisation

17 years 11 months ago #12567 by globule
CB localisation was created by globule
Hello,

I'd like to discuss about language support.
Language plugins are a wonderfull idea but this system does not cover all CB pages because many texts are hard-coded.
However, many strings (such as colum names in admin user list) are already declared in the language file.
Would it be possible to :
  • replace hardcoded string with php constants if they exist
  • create new constants corresponding to other string
?

e.g.:
replace lines 1468-1469 in admin.comprofiler.html.php
[code:1] <th width="20%" class="title">Name</th>
<th width="10%" class="title">UserName</th>[/code:1]with[code:1] <th width="20%" class="title"><?php echo _UE_NAME ?></th>
<th width="10%" class="title"><?php echo _UE_UNAME ?></th>[/code:1]

I know this is a hard work but you could build a team from all your members and affec a file (or part) to each one.
This way, the work could be done in about 2 days...:whistle:

Please Log in to join the conversation.

17 years 11 months ago #12569 by nant
Replied by nant on topic Re:CB localisation
I think these items effect the backend which at the moment is not internationalized (Joomla is working on it).
All frontend aspects are not using hardcoded strings (i think).

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.226 seconds

Facebook Twitter LinkedIn