Seite 2 von 2

Verfasst: 04.11.2005 21:02
von Blazer
Christian_W hat geschrieben:Ich rate eigentlich immer davon ab Englisch zu löschen.
Da das die Sprache ist in der das Forum entwickelt wurde/wird, ist das auch die Sprache auf die im Notfall zurückgegriffen wird.

Du kannst auch den Ordner beibehalten und nur die Anzeige aus dem Auswahlfeld entfernen:

Code: Alles auswählen

----- öffne -----
includes/functions_selects.php

----- finde -----
		if (preg_match('#^lang_#i', $file) && !is_file(@phpbb_realpath($phpbb_root_path . $dirname . '/' . $file)) && !is_link(@phpbb_realpath($phpbb_root_path . $dirname . '/' . $file)))

----- ersetze mit -----
		if (preg_match('#^lang_#i', $file) && !is_file(@phpbb_realpath($phpbb_root_path . $dirname . '/' . $file)) && !is_link(@phpbb_realpath($phpbb_root_path . $dirname . '/' . $file)) && $file != 'lang_english')
Gruß Christian
Hallo Christian,

ich habe deinen Tip durchgeführt und es hat geklappt :)
allerdings habe ich noch eine dritte Sprache, nämlich polih drinnen, wie bekomme ich die denn noch raus?

Verfasst: 04.11.2005 22:32
von Christian_W
Blazer hat geschrieben:allerdings habe ich noch eine dritte Sprache, nämlich polih drinnen, wie bekomme ich die denn noch raus?
Eifach hinten noch ein UND (&&) anfügen. Etwa so:

Code: Alles auswählen

----- öffne -----
includes/functions_selects.php

----- finde -----
		if (preg_match('#^lang_#i', $file) && !is_file(@phpbb_realpath($phpbb_root_path . $dirname . '/' . $file)) && !is_link(@phpbb_realpath($phpbb_root_path . $dirname . '/' . $file)))

----- ersetze mit -----
		if (preg_match('#^lang_#i', $file) && !is_file(@phpbb_realpath($phpbb_root_path . $dirname . '/' . $file)) && !is_link(@phpbb_realpath($phpbb_root_path . $dirname . '/' . $file)) && $file != 'lang_english' && $file != 'lang_polih')
Gruß Christian

Verfasst: 06.11.2005 22:15
von Blazer
Dankeschön hat wunderbar geklappt :)