<?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>Longhouses &#187; translations</title>
	<atom:link href="http://www.longhouses.nl/tag/translations/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.longhouses.nl</link>
	<description>creëert business</description>
	<lastBuildDate>Mon, 10 Feb 2014 12:13:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>Translations</title>
		<link>http://www.longhouses.nl/translations/</link>
		<comments>http://www.longhouses.nl/translations/#comments</comments>
		<pubDate>Sun, 08 Jul 2012 09:53:55 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme Features]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[translations]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=335</guid>
		<description><![CDATA[GavernWP has full support for making translations. Because of differences being a result of using JSON files for generating theme&#8217;s options, a theme&#8217;s translation should be done in three places: with files use from a languages catalog by creating a catalog of a language given in a config catalog by creating a catalog of a [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>GavernWP has full support for making translations. Because of differences being a result of using JSON files for generating theme&#8217;s options, a theme&#8217;s translation should be done in three places:</p>
<ol>
<li>with files use from a languages catalog</li>
<li>by creating a catalog of a language given in a config catalog</li>
<li>by creating a catalog of a language given in an options catalog</li>
</ol>
<p>The first stage is a standard operation described in details in WordPress documentation. Let&#8217;s focus on the two remaining stages then:</p>
<p>Generally, there is <strong>en_US</strong> catalog created in <strong>config</strong> and <strong>options</strong> catalogs which includes JSON configuration files in an English language. So, in order to translate a theme to a different language , you have to copy this catalog and change its name to a respective language used in your installation, e.g. <strong>pl_PL</strong>. Then, you have to change all phrases from the English language to your language.</p>
<p>NOTE! You must not change the names of keys in JSON files, the same as, proper names because they are used for proper work and reading values.</p>
<p>e.g. in a widgets.json file for a fragment:</p>
<pre class="gk-code" data-style="style1"><code>{<br />
"name": "Top widgets",<br />
"id": "top",<br />
"description": "Widgets area on under the header of website",<br />
"before_widget": "&lt;div id=\"%1$s\" class=\"box%2$s\"&gt;",<br />
"after_widget": "&lt;/div&gt;",<br />
"before_title": "&lt;h3 class=\"box-title\"&gt;",<br />
"after_title": "&lt;/h3&gt;"<br />
},</code></pre>
<p>change the following phrases only:</p>
<ul>
<li>&#8220;Top widgets&#8221;</li>
<li>&#8220;Widgets area on under the header of website&#8221;</li>
</ul>
<p>After this operation, you will see sentences in your mother tongue in an administration panel.</p>
<p>It&#8217;s worth remembering that in the case when GavernWP will not find a catalog corresponding to the language set in configuration, there will be files used from <strong>en_US</strong> catalogs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/translations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Framework structure</title>
		<link>http://www.longhouses.nl/framework-structure-2/</link>
		<comments>http://www.longhouses.nl/framework-structure-2/#comments</comments>
		<pubDate>Sun, 08 Jul 2012 09:30:56 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme essentials]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Custom Pages]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[translations]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=330</guid>
		<description><![CDATA[Gavern Framework has a quite extensive files structure. It is similar to a standard structure of majority of the themes, however, because of many functionalities, there are some new elements. The overall outline of files structure is presented below: theme&#8217;s catalog It includes all basic files and catalogs for a theme. It is worth seeing [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Gavern Framework has a quite extensive files structure. It is similar to a standard structure of majority of the themes, however, because of many functionalities, there are some new elements.</p>
<p><span id="more-330"></span></p>
<p>The overall outline of files structure is presented below:</p>
<ol>
<li><strong>theme&#8217;s catalog</strong><br />
<small>It includes all basic files and catalogs for a theme. It is worth seeing that Custom Pages templats have a <strong>theme.</strong> prefix at the beginning of their names which helps to find them in files structure.</small></p>
<ol>
<li><strong>css</strong><br />
<small>There are all CSS theme&#8217;s files in it. They are described in details in an entry about framework&#8217;s CSS code.<br />
</small></p>
<ol>
<li><strong>back-end</strong><br />
<small>To have everything ordered, CSS files connected with an administration panel were placed in this catalog.<br />
</small></li>
</ol>
</li>
<li><strong>fonts</strong><br />
<small>This catalog is used for storing files with additional fonts. You have to remember that each font must have its own catalog including a stylesheet.css file. More information about fonts service can be found in an entry about <strong>Fonts</strong> in an administration panel.<strong></strong><br />
</small></li>
<li><strong>gavern</strong><br />
<small>A catalog including the base of whole GavernWP framework work.<br />
</small></p>
<ol>
<li><strong>classes</strong><br />
<small>Files with supporting classes used in framework&#8217;s code.<br />
</small></li>
<li><strong>config</strong><br />
<small>Files including framework&#8217;s configuration. It has to be remembered that there are additional catalogs used for making transalations.<br />
</small></li>
<li><strong>form_elements</strong><br />
<small>It includes a main file with a code which generates basic form elements in an administration panel, as well as, catalogs with elements created by a user.<br />
</small></li>
<li><strong>helpers</strong><br />
<small>A collection of classes connected with specific framework&#8217;s tasks, e.g. with generating layout fragments.<br />
</small></li>
<li><strong>layouts</strong><br />
<small>Files used for generating HTML code of an administration panel.<br />
</small></li>
<li><strong>options</strong><br />
<small>Files which store options of particular sections of theme&#8217;s administration panel. Similarly to <strong>config</strong> catalog; there are also additional catalogs used for making translations.<strong></strong><br />
</small></li>
</ol>
</li>
<li><strong>images</strong><br />
<small>Graphic files used with a theme<br />
</small></p>
<ol>
<li><strong>back-end</strong><br />
<small>Files connected with an administration panel.<br />
</small></li>
<li><strong>headers</strong><br />
<small>Default header&#8217;s images.<br />
</small></li>
<li><strong>post_formats</strong><br />
<small>Images connected with entries formats.<br />
</small></li>
</ol>
</li>
<li><strong>js</strong><br />
<small>JavaScript scripts files used in a thme<br />
</small></p>
<ol>
<li><strong>back-end</strong><br />
<small>Likewise in <strong>css</strong> and <strong>images</strong> catalogs there are files included used in an administration panel.<strong></strong><strong></strong><br />
</small></li>
<li><strong>templates</strong><br />
<small>Additional JavaScript files used by some Custom Pages.<br />
</small></li>
</ol>
</li>
<li><strong>languages</strong><br />
<small>Main files used for creating translations.<br />
</small></li>
<li><strong>layouts</strong><br />
<small>Files used for generating subpages; they include elements which are used very often; e.g. a head section.<br />
</small></li>
</ol>
</li>
</ol>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/framework-structure-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
