Skip to:
Content
Pages
Categories
Search
Top
Bottom

Localisation, per user

  • Avatar of Hempsworth
    Hempsworth
    Participant

    @hempsworth

    Hey,

    There’s been lots of talk about localising plugins and components, but I’m not sure how I would go about having a ‘Language’ button on my site.

    I’m new to localisation anyway, but I’m guessing you just need to set the WPMU language in wp-config.php and all plugins/themes/components with localisation support will use the right langugage if the file is available?

    How would we have a dropdown/list of links that could set the sites language on a ‘per-user’ basis? So their preferred language would be used instead?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Avatar of Hempsworth
    Hempsworth
    Participant

    @hempsworth

    Is there no way this is possible? I’d be surprised if this hasn’t been achieved, or isn’t wanted by people?

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    Still interested? Try an enhancement ticket in trac.

    I would also be interested in a language drop down in Spanish and Portuguese and probably could help with the translation if needed

    I believe this should be posted on the wPMU forums, not here.

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    There are some plugins that exist to mimic this functionality, but no, nothing exactly like what you describe yet.

    The problem is translating post content, like categories, post titles, and body copy. There would need to be multiple versions of each item with the same slug, which isn’t currently possible with WordPress at the core.

    Avatar of Arthur Kendall
    Arthur
    Participant

    @aahkendall

    @DJPaul I think there must be specific issues with BP themes as I’ve tried all the main WPMU multilingual plugins and not succeeded (though admittedly this is probably at least partly me).

    I have found one (TransPosh) that is easy, quick and is the nearest thing I can get. But, unlike changing languages via the dashboard, when using any plugin, it seems to use a different system, often just translating on the fly using google translate, for example. So things like ‘login’ aren’t translated properly – especially when my default language is Catalan (regional language in Spain). Whereas setting it in the admin translates perfectly.

    I’m more interested in translating the actual structural items – login/account links, menus, etc than the actual blog.

    If any clever WP/BP developer reads this can you shed any light on this? Thanks :)

    Avatar of Arthur Kendall
    Arthur
    Participant

    @aahkendall

    Oh, forgot to add…the permalinks don’t work in the translated versions either – i.e. on my test site http://www.lleidaonline.net/blog works in Catalan but http://www.lleidaonline.net/en/blog returns a page not found error (badly translated except (so far) in the English which I’ve corrected (a nice feature of TransPosh).

    Don’t forget to click on the US English (I’m also trying to find/write a British English .mo file so I can put a British flag instead of American, since I’m in Europe (and English!).

    The main reason I want to do this at all is to cater for the two local languages, Catalan and Spanish, but have English available too. I also found a neat plugin for setting a different back end language but only managed to get that to work using the Codestyling Localization plugin which I couldn’t get to work completely as I wanted either).

    Just thought I’d add that in the hope it’ll help others – here’s the Transposh link FYI, which is not usually mentioned but simpler than the main ones.

    Avatar of abcde666
    abcde666
    Participant

    @erich73

    do I need 2 installations of BuddyPress in order to run a website in 2 languages ?

    Please let me know.

    Many thanks,

    Erich

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    No, you only need one installation of WPMU/BuddyPress to have a multi-language website.

    When you install additional PO’s and MO’s in your wp-includes\languages folder, magically in your Site Admin and Blog Admin settings will be language selection options, to determine the default language of both the site and the blog. The mu_locale function will take control of it and over-ride the WPLANG settings as necessary.

    There is no user language settings as of yet, but I’m working on an implementation of qTranslate to allow for this. This won’t work until BuddyPress 1.0.1 as there’s a few specific things that need to be altered for everything to work in the order they need to.

    Avatar of Arthur Kendall
    Arthur
    Participant

    @aahkendall

    Sounds encouraging, John – I look forward to seeing the results. A ‘native’ user language selection function is essential for a robust multilingual installation, with specific support for BP, of course.

    I’m quite sure that the use of BP will rocket (again!) once this is done as that’s the last major barrier I think to global domination! Ning and all the others will be left in the dust!

    Avatar of kkarpieszuk
    kkarpieszuk
    Participant

    @kkarpieszuk

    @John James Jacoby – is it ready what you described here 3 months ago?

    I am searching for solution to make buddypress multilingual, but only in interface: theme and admin area should has multi language texts. ost dont have to be translated.

    Just something like is at wordpress.com: user register and choose language. Then he see all interface in local language, write in any language he want.

    This thread is old and had been marked as complete. I suggest you contact jjj directly or make a new thread.

Viewing 12 replies - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.