Jump to content

Archived

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

Simon

How to change a text string with POedit.

Recommended Posts

torbjorn_s    0
torbjorn_s
Hi Here comes a tip for you all. I use this plugin instead of POedit. It works out much better for me. [url="http://wordpress.org/extend/plugins/codestyling-localization/"]http://wordpress.org/extend/plugins/codestyling-localization/[/url] Anybody else using this plugin? Ping: @Simon

Buildning WordPress sites and setting up Google Apps for my clients.

www.twoway.se

towoway-logo-xsmall-transparent.png

Share this post


Link to post
Share on other sites
evert100    1
evert100
I know i used it before but since last updates from pagelines it doesn't see the .pot or .po/.mo anymore. You still use it with version 2.2.5. You are a wizard! Tell me your secrets....

Share this post


Link to post
Share on other sites
wonderwoman    0
wonderwoman
Something has changed with 2.2.5 for sure... I've found the .po file in pagelines-customise/language, but the text for the message string is not what displays. Instead I get "keyword" which looks as though it's coded as a placeholder... whatever that means. So is that an "undocumented feature", or is there another way to change that...

Share this post


Link to post
Share on other sites
rudolfo78    0
rudolfo78
Hello folks,
I followed this tutorial step-by-step, PoEdit generated .po and .mo, I renamed it to "sk_SK.po" and "sk_SK.mo" (I would like to translate pagelines framework with iBlog theme to Slovak language), uploaded to my "pagalines/language" folder (I use iBlog theme I guess it doesnt matter), and changes isn't visible...I appreciate any advice!

[img]http://i.imgur.com/Y9kKz.png[/img]
EDIT: I have translated some of strings on PageLines Translations Center ([url="http://bit.ly/QwBuAx"]http://bit.ly/QwBuAx[/url]), then I have exported .po and .mo files, uploaded to language folder and it doesn't work also.

EDIT2: I solved it, I have renamed files "[b]sk_SK.po and .mo[/b]" to "[b]en_US.po and .mo[/b]" and it appears translated strings! :)

Thanks

Share this post


Link to post
Share on other sites
Simon    247
Simon
You uploaded to the wrong folder, please read the opening post.

Share this post


Link to post
Share on other sites
Audun MB+    16
Audun MB

Do you really need to use the customize plugin to get Pagelines in another language, even if you are using a child theme for customization?

 

That's just stupid!

Share this post


Link to post
Share on other sites
Simon    247
Simon

Do you really need to use the customize plugin to get Pagelines in another language, even if you are using a child theme for customization?

 

That's just stupid!

 

It is like this for a reason. Most customers will probably purchase a 3rd party child theme, if they then put the mo file into the child theme and the author of the child theme then releases a bug fix the translation file will get wiped out.

So the mo file goes in the customisation plugin.

  • Like 1

Share this post


Link to post
Share on other sites
Audun MB+    16
Audun MB

But won't the customize plugin interfere with the customizations done in my child theme? 

Share this post


Link to post
Share on other sites
Simon    247
Simon

Nope, you can use either or both. Entirely up to you.

  • Like 1

Share this post


Link to post
Share on other sites
elombard+    0
elombard

Hello Simon,

 

I did just as you said. I installed the pagelines-customize plug-in, activated it, and created a language subfolder.

I used Poedit to edit my fr_FR.po file and copied the output fr_FR.po and fr_FR.mo files to wp-content/plugins/pagelines-customize/language.

After that, my new translation (the hover text for the Flipper section) is not displayed. I tried refreshing the cache to no avail.

However, after I overwrote the original fr_FR.po and fr_FR.mo files with the modified ones in wp-content/themes/dms/language, it works right away.

So you may wonder, why do I post a question?

Well I had to change directly the DMS theme to make it work, while the customize plug-in remains useless, which means that I will lose my custom translation after the next DMS update which will overwrite files in wp-content/themes/dms.

Can you please help and fix the customize plug-in?

 

Best regards,

E.L.

Share this post


Link to post
Share on other sites

×