Jump to content
olofdeskdesign

Translation in a custom child theme

Recommended Posts

olofdeskdesign    0
olofdeskdesign

I have downloaded the .mo and .po files from the localization center but I'm not sure how to get a translation for Pagelines working. As far as I can find out I can put the .mo file in ~/wp-content/plugins/pagelines-customize/language/ but that doesn't work.

 

Also putting it in the ~/wp-content/themes/pagelines/language/ will not magically translate PageLines.

 

Apparently I'm taking the wrong route. So what is the right way..?

Share this post


Link to post
Share on other sites
Simon    247
Simon

Did you rename the file?

 

Assuming in wp-config.php your locale is set to nl_NL then the mo must be nl_NL.mo 

 

Yes the folder is right, is the plugin active too?

Share this post


Link to post
Share on other sites
olofdeskdesign    0
olofdeskdesign

Ah... The solution was 'renaming the file' from pagelines-framework-nl.mo to nl_NL.mo

 

I overlooked it in the short manual on the localisation centre, time after time. Blame it on my age. Or glasses.

 

Tnx!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • DonRicardoRVM
      By DonRicardoRVM+
      ¿Where can  I translate the english items "Orders", "Adress", "Payment Methods". "Edit Account" and "Sing Out"of the my account page of the plugin Quickshop? In the po file they are not.
      I think that it have relation with this error: "Your theme version of my-account.php template', '2.6', 'the latest version, which supports multiple account pages and navigation, from WC 2.6.0".

      I use the Frame Work Pagelines´s Child theme for platform 5.

    • khat
      By khat+
      I think I may have installed pagelines pro incorrectly, and then used features incorrectly. I installed first platforms framework theme and then the child, thinking I could do setup for child later. I tried to set up a background image, and tried custom css feature in pagelines dashboard. I had mistakes in my css, and just thought that if I deleted the info in the css custom feature in pagelines dashboard that the new information would overwrite the old info. The background image didn't respond at all, probably because I didn't have the child directory renamed. I then tried to use the LSS plugin to create css and added more css, possibly, somewhere -sigh-. I never did change the background image and get it placed properly. I used a workaround and in nested containers I placed a background image which worked well enough, so I moved on to try to create my nav bar/ menu bar. When I go to the Menus panel, there is NO area where I can place a menu on a page. I have read and reread and re- re- reread the instructions for placing a menu. I've used the pagelines editor to place a menu, however only HOME shows up. I've been at this for many hours. I've since uninstalled all of my pagelines items and reinstalled, thinking that it would restore all my changes to default, but no, it is still all there, with all my unresolved issues. I am completely at a loss as to what to do next.
    • fabienfons
      By fabienfons+
      Hi,
       
      I'd like to translate my website in french. (platform 5)
      How can i do ?
      Thanks
      Fabien
    • Audun MB
      By Audun MB+
      Are there any instructions for this? Seems like the plugin use standard .mo/.po for translation, but how do I prevent my language file from being overwritten with updates?
      Support for different number and currency formats in sections is also missing. For me this is an issue with Boxes. I can't use the counter with the current format (thousands separator), it looks really odd in Norwegian (and a lot of other languages). 
       
    • pehja
      By pehja+
      Looking good so far ;-) Just wondered how it would work with child theme. I can't really use a child for DMS 2. And what if I decide to use another theme. I need a different child for every new theme i build with plattform 5?
      Thanks Peter
×