Archived

This topic is now archived and is closed to further replies.

  • 0

Sidebar translation disables them...


Question

Posted · Report post

There is a big issue with translating sidebar names. If you translate Primary Sidebar, Secondary Sidbar etc i .mo file then they will disappear. This issue is long present. I thought someone will fix the problem by now but many updates were introduced and this problem still exists.

 

If I remember good I already told someone from the Staff from PL about it month ago...

Share this post


Link to post
Share on other sites

6 answers to this question

Posted · Report post

No, I didn't edit .mo file. I'm an advanced user I (i think) know what I'm saying... I'm using and translating Pagelines Lang Files through Translation Center. The issue is that translating 'Primary Sidebar' to polish as 'Pierwszy Sidebar' removes all widgets from it. So I have to remove translation in order to get them back in place.

 

Another thing is that translation files should be placed elsewhere - either a child theme or some other place to NOT upload it every time I want to update PL. Do you agree that this is kinda annoying ?

Share this post


Link to post
Share on other sites

Posted · Report post

Yes the file is supposed to go in the customize plugin folder, its never overwritten.

Check out the how to edit a string with poedit post, tells you where to put the files there.

Share this post


Link to post
Share on other sites

Posted · Report post

Pagelines Customize Plugin - Good tip - it works. Thx.

 

And what about those sidebar translations ? Thats pretty wierd....

Share this post


Link to post
Share on other sites

Posted · Report post

Anything that's in a .po/.mo file like Primary Sidebar or so on, may be edited using PoEdit or our Translation Center.

 

Any content added to a sidebar should be edited either in the site or if it's a plugin, from the plugin or the .po file.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there, I've checked this out for you and been advised you can't edit an mo file as its a compiled translation file.

 

There's no way translating the text should cause the sidebar to disappear, so we're assuming you mean the translation stops?

 

Every time there is an update you will have to update the translation files in order for them to continue working.

Share this post


Link to post
Share on other sites