Search

bbPress Showcase » Plugins by _ck_

  1. tfbpa
    User has not uploaded an avatar

    member
    Joined: Apr '09
    Posts: 12

    offline

    Hi,

    am trying to use your language switcher, http://bbpress.org/plugins/topic/bbpress-language-switcher/, (which is a GREAT help to me since I am the administrator of a Thai forum but do not speak Thai), but for some reason I cannot select the English Language.

    I have installed Thai and German and both can be selected and both work, but the English language is dark Grey and when selected it just refreshes the screen and the page is displayed in the default Thai language.

    Any ideas why that is and how to correct it? I was thinking of adding the English mo/po files, but cannot seem to find them...

    Thanks,
    Paul

    p.s. I know the plugin is Compatible up to: 1.0 alpha 5, but I have tried it with alpha 6 and it still works for languages other than English.

    Attachments

    1. languageswitcher.JPG (6.7 KB, 0 downloads) 2 years old
    Posted 2 years ago #
  2. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    English is the default language so there are no mo/po files for it.

    The dark grey background is my fault as it's the color I made it on purpose so it would stand out. But it should still be selectable. Actually it should be a yellowish grey.

    It works here which is really strange, or can you make it do the same problem here?

    It looks like you are using Firefox, correct?

    It would help if I could see the problem in action on your site, but I don't see the switcher active right now on your forum.

    Posted 2 years ago #
  3. tfbpa
    User has not uploaded an avatar

    member
    Joined: Apr '09
    Posts: 12

    offline

    Hi,

    it is active on my site, but since I am the only visitor/admin who doesn't speak Thai, nobody needs to see it but me, so I only put it in the admin area.

    Yeah, after a while I figured that, about the English mo/po files. But just to be sure I created one for English with a few English words in the admin area, but that also didn't help.

    Yes, I am using FF, but I also tried IE and it doesn't work in that either.

    I have put it also in the normal footer so you can see it.

    Thanks for looking into it!

    Paul

    Posted 2 years ago #
  4. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    It might be a bug with english being the first item, I will investigate.

    hmm actually it seems to be a bug with the default language of the system, I will have to find a workaround

    Posted 2 years ago #
  5. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    Could you please try 0.0.5 when you see it on bbPress.org

    You may need to "rebuild" the language defaults via
    ?bb_language_switcher_update
    on your url

    Posted 2 years ago #
  6. tfbpa
    User has not uploaded an avatar

    member
    Joined: Apr '09
    Posts: 12

    offline

    You are the best! :D:D

    It is working like a charm now, there are 2 options for English and the second one with White background works exactly the way it should.

    Thanks again, you really helped me out a LOT with this plugin!

    Posted 2 years ago #
  7. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    There should not be two options for English, did you try rebuilding your list?

    Posted 2 years ago #
  8. tfbpa
    User has not uploaded an avatar

    member
    Joined: Apr '09
    Posts: 12

    offline

    I deactivated/reactivated the plugin a few times, I do not know after which URL I had to paste it...

    I have added the plugin in the normal footer again so you can look if you want.

    Posted 2 years ago #
  9. wlz0072
    User has not uploaded an avatar

    member
    Joined: Jul '10
    Posts: 32

    offline

    My BB_language_Switcher doesnt work correctly.
    I followed the Installation Steps as:

    Place dropdown anywhere you'd like in templates via: <?php do_action('bb_language_switcher',''); ?>

    If you do not already have an alternate language set, you MUST change in your bb-config.php : define('BB_LANG', ' '); note the space between the quotes

    bbpress 0.9 - put any .mo language files into bb-includes/languages/

    bbPress 1.0 - put any .mo language files into my-languages/

    Copy bb-language-switcher/ directory to my-plugins/ and activate plugin

    To rebuild the list of languages, either deactivate/reactivate the plugin or add to your URL ?bb_language_switcher_update

    But it doesnt work for my website.

    My website is http://forum.wlz0072.co.cc/
    Could you pls help me to fix it?

    Best Regards,
    Li Zhun Wang

    Posted 1 year ago #
  10. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    I think in your case you want zh_CN to be the default.

    so in bb-config.php you might want

    define('BB_LANG', 'zh_CN');

    Note that the switcher only changes text in the template, it does not translate the full text of the forum (ie. posts).

    Posted 1 year ago #

RSS feed for this topic

Post a reply to “BBpress language switcher: English not selectable” »

You must log in to post.

keep _ck_ coding >> donate $5 <<     Theme Switcher:
35 users online from in the past 30 minutes. 12 bots 22 guests 1 members: mccawphoto
140 views today 7,784 yesterday 14,010 peak. Most at once 39 today 63 yesterday 131 peak. Visited today: mccawphoto
2,240 posts in 380 topics over 63 months by 425 of 1,992 members. Latest: shairah27, Augustine01, MichaelGomez