WordPress.org

Ready to get started?Download WordPress

Forums

[internationalization ] - interrogation about multilingual wordpress website (1 post)

  1. ben.IT
    Member
    Posted 1 year ago #

    Hi,
    I have a big interrogation about the internationalization process in WordPress. I want to internationalize an existing WP site, the content must be available in 2 languages : English and French. The user can switch the site language clicking on a flag.

    My question is about the PO/MO files used with the two core functions : __() and _e() When you translate an existing site (theme, plugins) with these functions, It's only allow to change the main website language setting in thewp-config.php file :

    define ('WPLANG', 'fr_FR');

    With this process, your website can manage only one language at time.

    But, if you want to run a website with 2 languages, you have to use an internationalization plugin. I start using the polylang plugin but i would like someone to confirm that and I saw that my site has a lot of plugins which has their own PO/MO file and are already internationalize with __() and _e() functions.

    Does anybody can confirm me that before I div into internationalization with polylang ?

    Greetings, Ben

Topic Closed

This topic has been closed to new replies.

About this Topic