1

I am lately working on a Wordpress website (ouch, pain) for a friend as a side project and it is supposed to be multilingual. No problem, there are some plugins for it and thanks to one of my previous rants I found out the _e() function (still a stupid af name).

But I was wondering: given that I’ll have a lot of translations in some template pages in the theme, what is the standard way to do it? I have a couple of solutions in mind:

- single Po/mo files for every page
- as above, but with a script to merge the Po(s) before making the mo

Am I missing something obvious?
I was told to just use one po, but it sounds like hell to organise

Comments
  • 0
    google

    i18n WordPress
  • 0
    @heyheni if you read carefully you will find out I ask what is the standard way to do it, not which tool to use. (I even mention Po/mo files)
  • 0
    To give a context on why I ask this: I am not sure if I’ll be the one maintaining their website and I want to make the work for the next guy as little painful as possible, therefore I would like to to keep it as close to industry standard as reasonable.
  • 0
    Just use Translate Press or Polylang.
Add Comment