1
micken
translating the system module
  • 2006/10/18 11:00

  • micken

  • Just popping in

  • Posts: 11

  • Since: 2006/10/12


How do I get translations in the system module to work.

I have the following defined in the modules/system/language/swedish/modinfo.php file:

define("_MI_SYSTEM_BNAME2","Användarmeny");^M
define("_MI_SYSTEM_BNAME3","Logga in");^M
define("_MI_SYSTEM_BNAME4","Sök");^M
define("_MI_SYSTEM_BNAME5","Väntande innehåll");^M
define("_MI_SYSTEM_BNAME6","Huvudmeny");^M
define("_MI_SYSTEM_BNAME7","Sajtinformation");^M
define('_MI_SYSTEM_BNAME8', "Vem är online?");^M
define('_MI_SYSTEM_BNAME9', "Flitigaste inläggsskrivare");^M
define('_MI_SYSTEM_BNAME10', "Nya medlemmar");^M
define('_MI_SYSTEM_BNAME11', "Nya kommentarer");^M


But I still get "Main Menu" and "User Menu". I have also tried to change the english language files to see if they behave different, but they did not. As far as I can see . the text string "Main Menu" only is defined in modules/system/language/"$LANGUAGE"/modinfo.php.

I have tried to rebuild the system module from the admin menu.

Some data from my system:

xoops version: xoops-2.0.15
phpversion: php4
mysql: Ver 5.0.24a-Debian_4-log for unknown-linux-gnu on powerpc
os: Linux macen 2.6.8-powerpc #1 Fri May 20 10:37:45 JST 2005 ppc GNU/Linux

/Michael

2
wizanda
Re: translating the system module
  • 2006/10/18 11:11

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


It changes in the blocks admin for those titles, so maybe look around there...

3
davidl2
Re: translating the system module
  • 2006/10/18 11:34

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Make sure you've also cleared template_c - except for index.html of course.

4
micken
Re: translating the system module
  • 2006/10/18 15:04

  • micken

  • Just popping in

  • Posts: 11

  • Since: 2006/10/12


I have tried that and it did not work.

/Michael

5
micken
Re: translating the system module
  • 2006/10/18 15:14

  • micken

  • Just popping in

  • Posts: 11

  • Since: 2006/10/12


Quote:

davidl2 wrote:
Make sure you've also cleared template_c - except for index.html of course.


I have added debug now and in the blocks display I get this:
Användarmeny: No Cache
Logga in: No Cache
Huvudmeny: No Cache
It seems very well , so the question still remains , why on earth does the page display a string that does not exist ?

6
micken
Re: translating the system module - fixed
  • 2006/10/18 18:20

  • micken

  • Just popping in

  • Posts: 11

  • Since: 2006/10/12


A reinstallation of XOOPS fixed it

7
micken
Re: translating the system module - yet again
  • 2006/10/20 19:39

  • micken

  • Just popping in

  • Posts: 11

  • Since: 2006/10/12


Quote:

micken wrote:
A reinstallation of XOOPS fixed it


Now what ?

I have uploaded XOOPS to my site and I still get this strange error. This time a reinstall did not help.

/Michael

Login

Who's Online

428 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 428


more...

Donat-O-Meter

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

Latest GitHub Commits