1
moisty70
Cannot translate User menu items and block titles (xlanguage module)
  • 2007/9/21 10:35

  • moisty70

  • Just popping in

  • Posts: 21

  • Since: 2007/8/24


Hello everybody,
I have (at last) all my website translated with xLanguage module but there is something I cannot get translated when I change between languages.

User Menu items load their name from modules table and don't know how to translate this name, even changing the database field to _MY_MODULE_NAME doesn't work.

Also I don't even know where block titles are loaded from.

How can I translate both?

2
stefan88
Re: Cannot translate User menu items and block titles (xlanguage module)
  • 2007/9/21 11:11

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

for user menu you need to have language files for all languages for system module - in modules/system/lahguage/...

for block go to administration -> system admin -> blocks and in "Action" column select edit for the block you want to change name. In Title field type whatever you want like [en]Search[/en][...]...[/...]
Hit submit when done.

:)
..

3
moisty70
Re: Cannot translate User menu items and block titles (xlanguage module)
  • 2007/9/23 8:30

  • moisty70

  • Just popping in

  • Posts: 21

  • Since: 2007/8/24


Thanks.

4
moisty70
Re: Cannot translate User menu items and block titles (xlanguage module)
  • 2007/9/24 14:17

  • moisty70

  • Just popping in

  • Posts: 21

  • Since: 2007/8/24


One more thing, Can I set this at module xoops_version.php?

Example:
$modversion['name'] = _MI_RAF_MOD_NAME;
$modversion['description'] = _MI_RAF_MOD_DESC;

Then I set up _MI_RAF_MOD_NAME and _MI_RAF_MOD_DESC at modinfo.php either under language/english and language/spanish, but I only see english at modules table.

5
stefan88
Re: Cannot translate User menu items and block titles (xlanguage module)
  • 2007/9/24 19:07

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

I hate to say it, but NO, that will not work ...

Atleast on older versions - I'm using 2.0.13.2
..

6
moisty70
Re: Cannot translate User menu items and block titles (xlanguage module)
  • 2007/9/25 7:17

  • moisty70

  • Just popping in

  • Posts: 21

  • Since: 2007/8/24



Login

Who's Online

175 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 175


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits