How to Change a Text String With POedit

[edit] Please Note

These docs are now deprecated, we have a new Support area located here

(Difference between revisions)
 
(3 intermediate revisions by one user not shown)
Line 9: Line 9:
 
[[file:ZaxfW.png]]
 
[[file:ZaxfW.png]]
  
#Make a 'language' dir in the customize plugin folder.
+
<ol start="1">
 +
<li>Make a 'language' dir in the customize plugin folder</li>
 
[[file:CMkCy.png]]
 
[[file:CMkCy.png]]
<ol start="2">
+
<li>Open POedit and click file/open and navigate to the pagelines.pot file in pagelines/language folder ( you will need to select 'all files' to open it )</li>
<li>This is a test</li>
+
[[file:GPBhD.png]]
<li>Rotterdam</li>
+
<li>Now we need to find the string to translate, i used the find function to find the word 'tagged'</li>
<li>The Hague</li>
+
[[file:ZYnvu.png]]
</ol>This is a test
+
<li>Highlight the string to edit then add the new string in the bottom box.</li>
 +
[[file:UxvnQ.png]]
 +
<li>Now click Catelog/settings, you need to change a couple of fields before it will let you save. You have to change the team name and team email address</li>
 +
[[file:SH4FT.png]]
 +
<li>Now click 'save as' and navigate to your customize plugin folder, and change the filename to en_US.po</li>
 +
[[file:Y5ZLM.png]]
 +
<li>It should save out 2 files like this:</li>
 +
[[file:OiNPc.png]]
 +
<li>Now refresh your page, it should be translated!</li>
 +
[[file:BqLMs.png]]
 +
</ol>

Latest revision as of 17:30, 23 January 2012

In this quick tutorial I'm going to show you how to change a translatable string in PageLines Framework 2.x

Tools Needed:
PageLines Framework 2.x
pagelines-customize plugin
POedit - http://www.poedit.net/download.php

So as an easy example I'm going to show you how to change the 'Tagged with:' string. ZaxfW.png

  1. Make a 'language' dir in the customize plugin folder
  2. CMkCy.png

  3. Open POedit and click file/open and navigate to the pagelines.pot file in pagelines/language folder ( you will need to select 'all files' to open it )
  4. GPBhD.png

  5. Now we need to find the string to translate, i used the find function to find the word 'tagged'
  6. ZYnvu.png

  7. Highlight the string to edit then add the new string in the bottom box.
  8. UxvnQ.png

  9. Now click Catelog/settings, you need to change a couple of fields before it will let you save. You have to change the team name and team email address
  10. SH4FT.png

  11. Now click 'save as' and navigate to your customize plugin folder, and change the filename to en_US.po
  12. Y5ZLM.png

  13. It should save out 2 files like this:
  14. OiNPc.png

  15. Now refresh your page, it should be translated!
  16. BqLMs.png