JANUARY SALE: Directory Theme Now Only $49 -- Learn More

Ask the community

This is a community support forum where you can ask
questions and interact with other PremiumPress Customers.

Multi site language

  • Ian
    Newbie 2 points
    July 22, 2013 at 1:52 pm

    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 :-)

  • Mark Fail
    Mark Fail
    Super Guru 12,901 points
    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
    Newbie 2 points
    July 25, 2013 at 11:56 am

    Hi Mark,

    thanks for the reply.

    Is it possible to use WPML to handle translations?


  • Ian
    Newbie 2 points
    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)