MyBB Community Forums

Full Version: Admin transl
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

How can I translate the admin section? Certain parts are not included in the lanuage files, for example: Board settings > Change


Thanks
They are in ./inc/languages/<yourlang>/admin/index.lang.php

$l['nav_change'] = "Change";
$l['nav_settings'] = "Board Settings";
LeX- Wrote:They are in ./inc/languages/<yourlang>/admin/index.lang.php

$l['nav_change'] = "Change";
$l['nav_settings'] = "Board Settings";

Yes, but not this part:

[Image: 80109510rj4.gif]
settings.lang.php ?

Show Thread Options / Date and Time Formats, ... those you can't change in a lang file; you need to change them by pressing 'Manage Settings' - <choose> [Edit]
Thanks Lex.

I found that if I give lang strings in the settings.lang.php like this:
$l['setting_bbname'] = "Forum title";

so this way I can translate the titles of the options, but I don't know whether the rest of the settings (decriptions etc) can be translated this way.

By the way, why aren't these strings in the language files in the first place?
I thing they are in the templates!
boon Wrote:Thanks Lex.

I found that if I give lang strings in the settings.lang.php like this:
$l['setting_bbname'] = "Forum title";

so this way I can translate the titles of the options, but I don't know whether the rest of the settings (decriptions etc) can be translated this way.

By the way, why aren't these strings in the language files in the first place?
$l['setting_<identifer>'] = 'setting name';
$l['setting_<identifier>_desc'] = 'setting description

$l['setting_group_<identifier>'] = 'setting group name';
$l['setting_group_<identifier>_desc'] = 'setting group description';
By default, the English translations are in the database. Only other languages need to be translated in this way. I suggest you take a look at the Dutch translation as an example for your Admin CP translation.
dikidera Wrote:I thing they are in the templates!
Nope.