Ready to get started?Download WordPress


[Plugin: Global Translator] Resequencing the Flags (3 posts)

  1. nhowarth
    Posted 6 years ago #


    Does anyone know how I can resequence the order in which the flags are displayed. Living in the Eastern Mediterranean, I'd like 'Greek' to come first, followed by 'Russian' and then 'Arabic'.

    I'm happy to hack the php - but the problem is knowing where to start - and my programming skills are 40 years out of date.



  2. pclove
    Posted 6 years ago #

    I need a solution to this too. Please help.

  3. nhowarth
    Posted 6 years ago #

    Here's the solution I received from the author - I've implemented it on my blog and it works fine:

    The order of the flags depends on the order of the items inside the arrays on header.php.

    Suppose you're using Google Translation Engine and your blog language is english. If you want to change the flags order you have to modify the order of the items inside the array on line 209 of header.php:

    'en' => array( 'en' => 'English',
    'it' => 'Italian',
    'ko' => 'Korean',
    'zh-CN' => 'Chinese (Simplified)',
    'pt' => 'Portuguese',
    'de' => 'German',
    'fr' => 'French',
    'es' => 'Spanish',
    'ja' => 'Japanese',
    'ar' => 'Arabic',
    'ru' => 'Russian',
    'el' => 'Greek',
    'nl' => 'Dutch',
    'bg' =>'Bulgarian',
    'cs' =>'Czech',
    'hr' =>'Croat',
    'da' =>'Danish',
    'fi' =>'Finnish',
    'hi' =>'Hindi',
    'pl' =>'Polish',
    'ro' =>'Rumanian',
    'sv' =>'Swedish',
    'el' =>'Greek',
    'no' =>'Norwegian'

Topic Closed

This topic has been closed to new replies.

About this Topic