• alphamike2

    (@alphamike2)


    Dear all,

    I have a custom website fully working now in english. But I must have my website translated into two other languages (French & German). However, I realize that I’ll be running into a difficult dilemma, currently my website has the following link :

    mywebsite.com/home

    All my links are therefore based on that configuration. Now that I’m willing to translate it in two other languages, I’ll not be able to change it to :

    mywebsite.com/en/home
    mywebsite.com/fr/home
    mywebsite.com/de/home

    because of the considerable amount of dead links that I’ll have to correct manually.

    Any suggestions on how to proceed ? Also, shall I create a multisite version of my WP ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • mrtom414

    (@mrtom414)

    WordPress has a built-in library to handle internationalization called i18n. The library has a backend version and a front version. I haven’t done this but just looked at it so you will need to do more research. I know you need three files A POT file a PO file and A MO file. There is a program called poedit that will generate the files for you. There is a free version and a paid version. The free version will not generate the POT file but will create the other two files. Your theme and plugins will need to support internationalization. It is not a requirement for a theme but I think most themes and blocks do support it. Themes that support internationalization will have functions like this __() or _e().

    Also there are some functions for escaping strings and some functions that deal with plural content. WordPress document on internationalization. I think there are groups that donate their time to create many of the resource needed. But not sure where you can find them at you will have to dig a little. Hope it enough to get you started.

    Thread Starter alphamike2

    (@alphamike2)

    Thanks for your answer. However that seems a bit far from my tech abilities…

    mrtom414

    (@mrtom414)

    I have seen some paid programs that do the translation. Try searching google for WordPress internationalization plugins.

    Thread Starter alphamike2

    (@alphamike2)

    Thanks but I’m fine regarding the translation, I just want to know what’s the best approach regarding the file, pages management for the three different languages…

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

The topic ‘Advises needed : Languages’ is closed to new replies.