Your Portal Version: 1.0.6
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Advanced Knowledge
Boardlink: http://www.ponlestulanota.com
What have you done before the problem was there?
Install board3 and localised lang files
What have you already tryed to solve the problem?
checked all lang files in board3, localised language version and phpbb3 language files for mistakes in string construction.
Description and Message
Hello,
Could anyone please confirm if my intuition is right concerning board3 internationalization and front-end localised strings?
First, board3 looks for text string in xx/mods/lang_portal.php
If the string is not there it resources to language/xx/common.php
So is there any reason why after a proper install of board3 and language files some module names (right and left positions) on the front-end are displayed in localised version and others in English when the translated string is properly constructed in xx/mods/lang_portal.php?
e.g. the string below is shown in localised language:
// last bots
'LAST_VISITED_BOTS' => 'Última %s visita de robots',
However, other strings are shown in English:
// links
'LINKS' => 'Links',
instead of Spanish:
// links
'LINKS' => 'Enlaces',
Thank you for your attention,
Localised version inner workings with display
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Re: Localised version inner workings with display
phpBB-3.0.7-PL1
board3_portal_1_0_6
English-based forum install; Spanish set as default language in ACP.
Strangely, some mod names in board3_portal_1_0_6 user frontpage are shown in English instead of Spanish.
eg. Clock
board3_portal_1_0_6 Spanish language file reads:
language/es/mods/lang_portal.php
whereas board3_portal_1_0_6 English language file reads:
language/en/mods/lang_portal.php
As Spanish is set as default language 'Reloj' should be displayed. However, 'Clock' is displayed!
Same thing happens with enabled mods in my forum's left side column displayed as:
clock
random member
peak posters
newest members
link to us
... with enabled mods in my forum's right side column displayed as:
calendar
links
and with enabled mods in my forum's centar part displayed as:
welcome
recent
latest global annoucements
latest news
paypal donations
Trying to trace the Clock mistake I have landed in:
styles/prosilver/template/portal/block/clock.html
where the last part of the code is reponsible for displaying the text string:
Might it be that something should be changed in the string above so that the text is properly displayed in Spanish?
The strings below also show the text in English
styles/prosilver/template/portal/block/random_member.html
styles/prosilver/template/portal/block/birthday_list.html
And the strings below show the text in Spanish
styles/prosilver/template/portal/block/statistics.html
styles/prosilver/template/portal/block/latest_bots.html
So I don't see a real difference or a hint that could help me find the error, if any. So I kindly ask your assistance in this matter that might be of interest to admins in multilingual settings.
BIG Thank you!
board3_portal_1_0_6
English-based forum install; Spanish set as default language in ACP.
Strangely, some mod names in board3_portal_1_0_6 user frontpage are shown in English instead of Spanish.
eg. Clock
board3_portal_1_0_6 Spanish language file reads:
language/es/mods/lang_portal.php
Code: Select all
'CLOCK' => 'Reloj',
language/en/mods/lang_portal.php
Code: Select all
'CLOCK' => 'Clock',
Same thing happens with enabled mods in my forum's left side column displayed as:
clock
random member
peak posters
newest members
link to us
... with enabled mods in my forum's right side column displayed as:
calendar
links
and with enabled mods in my forum's centar part displayed as:
welcome
recent
latest global annoucements
latest news
paypal donations
Trying to trace the Clock mistake I have landed in:
styles/prosilver/template/portal/block/clock.html
Code: Select all
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{T_THEME_PATH}/images/portal/portal_clock.png" width="16" height="16" alt="" /> <!-- ENDIF -->{L_CLOCK}{$LR_BLOCK_H_R}
Code: Select all
{L_CLOCK}{$LR_BLOCK_H_R}
The strings below also show the text in English
styles/prosilver/template/portal/block/random_member.html
Code: Select all
{L_RND_MEMBER}{$LR_BLOCK_H_R}
Code: Select all
{L_BIRTHDAYS}{$LR_BLOCK_H_R}
styles/prosilver/template/portal/block/statistics.html
Code: Select all
{L_STATISTICS}{$LR_BLOCK_H_R}
Code: Select all
{LAST_VISITED_BOTS}{$LR_BLOCK_H_R}
BIG Thank you!