News:

Join the Facebook Fan Page.

Main Menu

about the menu bar

Started by Eudemon, June 08, 2010, 06:58:46 PM

Previous topic - Next topic

Eudemon

how do i edit the words on the menu bar in other languages?(see attachment)

also how do i add a page to the menu bar?

Matthew K.

./Themes/default/languages/index.{language}.php, I believe.

Mick.


Matthew K.

Whoops, I completely missed the second question. Thanks for picking that up bluedevil :) Was I right regarding the language file though?

Mick.


Matthew K.

Thanks for the confirmation.

Eudemon

Quote from: Labradoodle-360 on June 08, 2010, 06:59:27 PM
./Themes/default/languages/index.{language}.php, I believe.

i can't find the button that i want to change :-\
neither in index_english.php

CapadY

Quote from: Eudemon369 on June 08, 2010, 09:20:13 PM
Quote from: Labradoodle-360 on June 08, 2010, 06:59:27 PM
./Themes/default/languages/index.{language}.php, I believe.

i can't find the button that i want to change :-\
neither in index_english.php

There are no buttons in /Themes/default/languages/index.{language}.php

You where asking how to change the text, not how to change the button.
And alle button text can be find in this file. Maybe using a search option in this file ?

Adding a button for a new page can be done in /sources/subs.php, close to the bottom end of the file.
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Eudemon

Quote from: capady on June 09, 2010, 04:16:34 AM
Quote from: Eudemon369 on June 08, 2010, 09:20:13 PM
Quote from: Labradoodle-360 on June 08, 2010, 06:59:27 PM
./Themes/default/languages/index.{language}.php, I believe.

i can't find the button that i want to change :-\
neither in index_english.php

There are no buttons in /Themes/default/languages/index.{language}.php

You where asking how to change the text, not how to change the button.
And alle button text can be find in this file. Maybe using a search option in this file ?

Adding a button for a new page can be done in /sources/subs.php, close to the bottom end of the file.

yes, i was asking for the text of the button, but as u can see on the attachment, in chinese version some button still are in english
for example: forum, media, staff
i want to change those into something else in other language, but when i search index.{languaga}.php, i can't find those words

CapadY

In that case I think youre language files are not complete.

So, you can add the text strings yourself.

Compare the english and chinese files and look what is missing.
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Eudemon

the thing is, i can't even find those words in the index_english.php file :-\

xenovanis

Are you using a portal? If so, you can probably find what to change in the portal languagefiles. For instance, for SimplePortal this would be /Themes/default/languages/SPortal.language.php.
"Insanity: doing the same thing over and over again and expecting different results."

Mick.

...and worth mentioning, some mods come with their own language.  You could ask the mod authors to translate?

Eudemon

Quote from: xenovanis on June 12, 2010, 04:59:15 PM
Are you using a portal? If so, you can probably find what to change in the portal languagefiles. For instance, for SimplePortal this would be /Themes/default/languages/SPortal.language.php.

yes, im using simpleportal, but i can't find the buttons in there too, there is only one sportal.english.php

xenovanis

SimplePortal offers a number of languagepacks. See if you can find your language here:
http://simpleportal.net/index.php?action=downloads;area=cat2

If not, you could request a translation in their forums or volunteer to make a translation for your language  ;)
"Insanity: doing the same thing over and over again and expecting different results."

Advertisement: