• Resolved rsadeghi

    (@rsadeghi)


    my wordpress is english and persian language but i set persian and my phpbb is persian default language .
    when new user register .the language is english but i want persian language.
    how to set just persian language ?
    in setting i active (Activate language update/switch on profile for users between WordPress and phpBB ) but no change !!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author axew3

    (@axewww)

    Hello! maybe another missed var value somewhere, checking as soon …

    Plugin Author axew3

    (@axewww)

    Here we go … there is not only this problem about language switch, that in first instance was resolved in a not common, maybe smart way, but that was working in several conditions, not all.
    The plugin code, fail also on adding user on fly, when register in phpBB then come to WP side. The code loop. The user is added but a loop compromise the correct flow of the code. It has been resolved definitively, new version of plugin is coming within today.

    Let return now over lang switch problem.
    It has been now resolved to fix several incompatibility but remain a point.
    Languages like Persian, can have different notations (Italian instead for example only one that is it or it_IT) in fact for Persian we can have:
    fa-AF (Persian) ps (Pushto) ug (Uighur) uz-AF (Uzbek)
    the phpBB Persian language pack use
    FA, while in WordPress Persian language pack use notation PS.
    This is a problem that can be resolved with a switch, that will recognize the correct notation when it mismatch.
    By default will be added this switch for Persian lang into code, for others, maybe can be added along the time, i will provide the way to achieve (add) in few seconds. Where there are languages with different notations used in WP/phpBB this will be the solution.

    1.8.4 will be released within today to fix these important problems.

    And bringing finally a more stable plugin version.

    Plugin Author axew3

    (@axewww)

    1.8.4 has just been released: please update and check.

    Thread Starter rsadeghi

    (@rsadeghi)

    in 1.8.4 is ok .
    but admin profile change to english language . change to persian but not change and is english.other user is ok

    Thread Starter rsadeghi

    (@rsadeghi)

    i change ps in class.wp.w3all-phpbb.php to fa . its ok

    Plugin Author axew3

    (@axewww)

    mhh … maybe some mismatch due to previous situation?
    Isn’t notation for phpBB Persian lang fa?
    ANd the one in WP, se?
    By the way yes! You’ve find out exactly what and where the trick need to be applied in case it is necessary, when lang notation mismatch.
    In WP normally it is for example es_ES for spanish, and es in phpBB. I assume could also be es in WP (since your Persian in WP is pe): in these cases now, the code will/should do the trick.
    But if like in your case, in phpBB you have fa and in WP pe, then the switch is needed.

    • This reply was modified 8 years, 3 months ago by axew3.
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘default language’ is closed to new replies.