<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WP Engineer &#187; Localization</title>
	<atom:link href="http://wpengineer.com/tag/localization/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpengineer.com</link>
	<description>WordPress News, Hacks, Tipps, Tutorials, Plugins and Themes</description>
	<lastBuildDate>Tue, 31 Aug 2010 10:00:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Plugin Review: Codestyling Localization</title>
		<link>http://wpengineer.com/750/plugin-review-codestyling-localization/</link>
		<comments>http://wpengineer.com/750/plugin-review-codestyling-localization/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 11:43:47 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[Localization]]></category>
		<category><![CDATA[Multilanguage]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpengineer.com/?p=750</guid>
		<description><![CDATA[Heiko Rabe, a very talented Plugin-Developer created a plugin, which comes just in time: Codestyling Localisation. Since I am currently developing a premium WordPress theme, which I like to have multilingual, this plugin is an excellent alternative to PoEdit. Compare to PoEdit this Plugin has the decisive advantage that you can translate a theme or [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Heiko Rabe Homepage" href="http://www.code-styling.de/english/">Heiko Rabe</a>, a very talented Plugin-Developer created a plugin, which comes just in time: <a title="Plugin Homepage" href="http://www.code-styling.de/english/development/wordpress-plugin-codestyling-localization-en"><strong>Codestyling Localisation</strong></a>. Since I am currently developing a premium WordPress theme, which I like to have multilingual, this plugin is an excellent alternative to <a title="PoEdit Homepage" href="http://www.poedit.net/">PoEdit</a>. Compare to PoEdit this Plugin has the decisive advantage that you can translate a theme or plugin directly online, without an installed PoEdit on your computer. Therefore you don't have to constantly upload the language files, as they are directly in the theme / plugin stored. <span id="more-750"></span></p>
<p>The installation is very simple, as with any plugin, unpack, upload and activate. Then, under Tools in the backend, a new menu item <strong>"Localization"</strong> will be available. Clicking on it will list everything what is gettext capable or brings a language file with it.</p>
<p><img class="aligncenter size-full wp-image-756" title="manage language files" src="http://wpengineer.com/wp-content/uploads/manage-language-files.jpg" alt="manage language files" width="450" height="145" /></p>
<h3>Localize your own Theme</h3>
<p>To localize your own theme, you have to load an own texdomain in your theme:</p>
<pre lang="php">load_theme_textdomain(&#039;myTextdomain&#039;);</pre>
<p>With this code, the theme can be find by Codestyling Localization and you can add a new language. It displays a selection list from which you select the desired language.  <img class="aligncenter size-full wp-image-753" title="add new language" src="http://wpengineer.com/wp-content/uploads/add-new-language.jpg" alt="add new language" width="450" height="414" /> A click on "create po-file" creates an empty .po-file in your theme folder. After that you have to make a rescan with the selected language, to search for the gettext capable text fragments.  <img class="aligncenter size-full wp-image-752" title="rescan" src="http://wpengineer.com/wp-content/uploads/rescan.jpg" alt="rescan" width="450" height="163" /> After the rescan the catalog with the text fragments is available and you can start with the translation. <img class="aligncenter size-full wp-image-755" title="fragment list" src="http://wpengineer.com/wp-content/uploads/fragment-list.jpg" alt="fragment list" width="450" height="105" /> </p>
<p>If you hover with your mouse over the PHP icon, it shows the files in which the text fragment occurs. This can be displayed on request. The Edit link takes you to the translation editor. Here, in addition to the manual translation is also the Google Translate API available if the API supports the language. The translated text will be insert directly. But don't trust it will be 100% correct, it's better to check it again.</p>
<p><img class="aligncenter size-full wp-image-754" title="edit catalog entry" src="http://wpengineer.com/wp-content/uploads/edit-catalog-entry.jpg" alt="edit catalog entry" width="450" height="253" /> As soon as you click on save, it will update the .po-file. The generate .mo-file creates the .mo-file (machine object) and you are done with the localization.</p>
<h3>Conclusion</h3>
<p>An awesome Plugin with really great features, which is much better than PoEdit. Independent of your Computer and the possibility to use the Google Translation API are great advantages compare to PoEdit. A must have for every Plugin- and Theme Developer, who wants to offer their projects in several languages. Codestyling Localization at  <a href="http://wordpress.org/extend/plugins/codestyling-localization/">wordpress.org/extend/plugins/</a><br />
<hr />
<p><img style="float:left;" src="http://wpengineer.com/favicon.ico" alt="WP Engineer Favicon"/> Thanks for subscribing our feed! <a href="http://buysellads.com/buy/detail/3646/">Sponsor the WP Engineer Blog</a> and get your brand in front of several hundred users per day!<br />
&copy; <a href="http://wpengineer.com/">WP Engineer Team</a>, All rights reserved <small>(Digital Fingerprint: WPEngineer-be0254ce2b4972feb4b9cb72034a092d)</small></p>
]]></content:encoded>
			<wfw:commentRss>http://wpengineer.com/750/plugin-review-codestyling-localization/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
