Menu Manager and lang_main.php

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Antworten
robindr
Beiträge: 4
Registriert: Do 01.Sep, 2005 13:44

Menu Manager and lang_main.php

Beitrag von robindr »

Your phpBB Version: Vanilla phpBB 2.0.17
MODs: Yes
Your knowledge: Basic Knowledge
Boardlink: http://polybel.viane.net

PHP Version:
MySQL Version:


What have you done before the problem was there?
/


What have you already tryed to solve the problem?
looked in lang_main.php and the code was there. But not in de list in the Menu Manager.



Description and Message

I figured out that a language key has to be in lang_main.php for it to appear in the list with link names. However, I cannot find someting in that list, though it is in my lang_main.php.

Why isn't it in the list?

Code: Alles auswählen

//Paginas van de groepen
//
$lang['groepA'] = 'GroepA';
$lang['groepB1'] = 'GroepB1';
$lang['groepB2'] = 'GroepB2';
$lang['groepC'] = 'GroepC';
$lang['groepD1'] = 'GroepD1';
$lang['groepD2'] = 'GroepD2';
$lang['groepJ'] = 'GroepJ';
$lang['groepM'] = 'GroepM';
This piece of code is in my lang_main.php , but not in my link names list.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Begin the key of each $lang with an upper char like

Code: Alles auswählen

$lang['groepA'] = 'GroepA';
instead

Code: Alles auswählen

$lang['GroepA'] = 'GroepA';
The Menu Manager will only use these Keys...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Antworten