| (10 intermediate revisions by one user not shown) | |||
| Line 4: | Line 4: | ||
PageLines Framework 2.x <br /> | PageLines Framework 2.x <br /> | ||
[[Glossary#PageLines Customize Plugin|pagelines-customize plugin]]<br /> | [[Glossary#PageLines Customize Plugin|pagelines-customize plugin]]<br /> | ||
| − | [http://www.poedit.net/download.php POedit - http://www.poedit.net/download.php] | + | [http://www.poedit.net/download.php <strong>POedit</strong> - http://www.poedit.net/download.php] |
So as an easy example I'm going to show you how to change the 'Tagged with:' string. | So as an easy example I'm going to show you how to change the 'Tagged with:' string. | ||
| + | [[file:ZaxfW.png]] | ||
| + | |||
| + | <ol start="1"> | ||
| + | <li>Make a 'language' dir in the customize plugin folder</li> | ||
| + | [[file:CMkCy.png]] | ||
| + | <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> | ||
| + | [[file:GPBhD.png]] | ||
| + | <li>Now we need to find the string to translate, i used the find function to find the word 'tagged'</li> | ||
| + | [[file:ZYnvu.png]] | ||
| + | <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> | ||
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.