Multi site language

Hi. Managing translations during upgrade has proven to be bit of an issue, since language file structure has changed and translations now seems stored in DB - however we've managed to handle it. However, we've noticed that since all translations are handled within the theme, the language_attributes() function always returns en_US no matter which site/language is displayed. How do we fix this? Wouldn't it perhaps be better for us to handle all translations via e.g. the WPML plugin? Ideas, comments and solutions are very, very welcome :-)

Created: July 22, 2013 at 1:52 pm
  • In: CouponPress
  • Started by: Ian
  • 2 members left 3 comments
  • Last reply from: Ian

  • Mark Fail
    Mark Fail
    July 23, 2013 at 2:42 am

    Ian none of the default translations are stored in the DB, only the admin option to overwrite the file with your own text but its still recommended to edit the file directly.

    language_attributes isnt set via the language file, ill see what i can do with the new framework to add it on.

  • Ian
    July 25, 2013 at 11:56 am

    Hi Mark,

    thanks for the reply.

    Is it possible to use WPML to handle translations?


  • Ian
    July 25, 2013 at 11:57 am

    btw, we’ve already purchased the new responsive theme – it this any different?

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