Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support
Sign in to follow this  
Lurschi

Mulitlanguage-Buttons

Recommended Posts

Ist es möglich einen hack einzubauen der es ermöglicht mit der Sprachenauswahl gleichzeitig auch das Buttonset wechselt?

Share this post


Link to post

Danke Silaz, aber leider bekomme ich da diese Meldung "Parse error: parse error, unexpected '<' in /www/htdocs/v084814/forum/index.php on line 301"

Share this post


Link to post

Ich meine diesen Mod http://www.ibforen.de/forum/index.php?act=...st=0#entry47642

habe wie vorgeschrieben die index.php geändert und in jedem der Style-image-Ordner zwei Ordner angelegt de und en danach kam die Fehlermeldung

Parse error: parse error, unexpected '<' in /www/htdocs/v084814/forum/index.php on line 301
Edited by Lurschi

Share this post


Link to post

//--------------------------------

//  Set up our language choice

//--------------------------------

if ($ibforums->vars['default_language'] == "")

{

    $ibforums->vars['default_language'] = 'en';

}

$ibforums->lang_id = $ibforums->member['language'] ? $ibforums->member['language'] : $ibforums->vars['default_language'];

if ( ($ibforums->lang_id != $ibforums->vars['default_language']) and (! is_dir( ROOT_PATH."lang/".$ibforums->lang_id ) ) )

{

    $ibforums->lang_id = $ibforums->vars['default_language'];

}

$ibforums->lang = $std->load_words($ibforums->lang, 'lang_global', $ibforums->lang_id);

//-- mod_skin_lang begin

    if (is_dir($ibforums-<vars['img_url']."/".$ibforums-<lang_id) ) {

        $ibforums-<vars['img_url'] = $ibforums-<vars['img_url']."/".$ibforums-<lang_id;

        $ibforums-<skin['img_dir'] = $ibforums-<skin['img_dir']."/".$ibforums-<lang_id;

    }

//-- mod_skin_lang end

//-- mod_customize_date begin

    $ibforums->lang_id = $ibforums->member['language'] ? $ibforums->member['language'] :

                                    ($ibforums->vars['default_language']!=""?$ibforums->vars['default_language']:'en');

    if (file_exists(ROOT_PATH."lang/".$ibforums->lang_id."/mod_customize_date_lang.php")) {

            $ibforums->lang = $std->load_words($ibforums->lang, 'mod_customize_date_lang', $ibforums->lang_id);

    } else {

            die("Could not load required language file 'lang/$ibforums->lang_id/mod_customize_date_lang.php'");

    }

    $Date_Replace_Array = array(

                                    "January" => $ibforums->lang['mod_M1'],

                                    "February" => $ibforums->lang['mod_M2'],

                                    "March" => $ibforums->lang['mod_M3'],

                                    "April" => $ibforums->lang['mod_M4'],

                                    "May" => $ibforums->lang['mod_M5'],

                                    "June" => $ibforums->lang['mod_M6'],

                                    "July" => $ibforums->lang['mod_M7'],

                                    "August" => $ibforums->lang['mod_M8'],

                                    "September" => $ibforums->lang['mod_M9'],

                                    "October" => $ibforums->lang['mod_M10'],

                                    "November" => $ibforums->lang['mod_M11'],

                                    "December" => $ibforums->lang['mod_M12'],

                                    "Jan" => $ibforums->lang['mod_m1'],

                                    "Feb" => $ibforums->lang['mod_m2'],

                                    "Mar" => $ibforums->lang['mod_m3'],

                                    "Apr" => $ibforums->lang['mod_m4'],

                                    "May" => $ibforums->lang['mod_m5'],

                                    "Jun" => $ibforums->lang['mod_m6'],

                                    "Jul" => $ibforums->lang['mod_m7'],

                                    "Aug" => $ibforums->lang['mod_m8'],

                                    "Sep" => $ibforums->lang['mod_m9'],

                                    "Oct" => $ibforums->lang['mod_m10'],

                                    "Nov" => $ibforums->lang['mod_m11'],

                                    "Dec" => $ibforums->lang['mod_m12'],

                                    "Sunday" => $ibforums->lang['mod_D0'],

                                    "Monday" => $ibforums->lang['mod_D1'],

                                    "Tuesday" => $ibforums->lang['mod_D2'],

                                    "Wednesday" => $ibforums->lang['mod_D3'],

                                    "Thursday" => $ibforums->lang['mod_D4'],

                                    "Friday" => $ibforums->lang['mod_D5'],

                                    "Saturday" => $ibforums->lang['mod_D6'],

                                    "Sun" => $ibforums->lang['mod_d0'],

                                    "Mon" => $ibforums->lang['mod_d1'],

Edited by Lurschi

Share this post


Link to post

Hey Solaz, geht leider nicht dann bringt er nämlich den gleichen Fehler nur andersrum :( Kann es sein dass es was mit dem Mod costumize date zu tun hat? Der hat doch früher auch bei manchen Mods herungezickt? Werd ihn mal deinstallieren udn dann schauen was passiert ;)

Share this post


Link to post

Habs ausprobiert und den Mod cosumize date deinstalliert aber damit hat es auch nix zu tun. Denke mal dass der Mod einfach nicht kompatibel zum 1.3 ist da er ja ursprünglich für das 1.2 gemacht wurde. Schade :(

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×