<?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; configuration</title>
	<atom:link href="http://www.longhouses.nl/tag/configuration/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>JSON Configuration</title>
		<link>http://www.longhouses.nl/json-configuration/</link>
		<comments>http://www.longhouses.nl/json-configuration/#comments</comments>
		<pubDate>Sun, 08 Jul 2012 10:07:26 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme Features]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[menus]]></category>
		<category><![CDATA[Open Graph]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=338</guid>
		<description><![CDATA[In order to make GavernWP framework more flexible, we decided to use files in JSON format for storing thme&#8217;s configuration and options layout in an administration panel. You may find files responsible for theme&#8217;s configuration in gavern/options/ catalog: fonts.json &#8211; a file which stores theme&#8217;s groups of fonts. By default, there are three main gropus [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In order to make GavernWP framework more flexible, we decided to use files in JSON format for storing thme&#8217;s configuration and options layout in an administration panel.</p>
<p>You may find files responsible for theme&#8217;s configuration in <strong>gavern/options/</strong> catalog:<strong></strong></p>
<ul>
<li><strong>fonts.json</strong> &#8211; a file which stores theme&#8217;s groups of fonts. By default, there are three main gropus created. In order to create a new group, it is enough to add a next object to the object table existing in this file.plik przechowujący grupy czcionek szablonu.</li>
<li><strong>menus.json</strong> &#8211; you will find space for menu used in a theme in this file. You have to remember that except adding a new object, you have to add PHP code generating menu data in theme&#8217;s code. It is also worth remembering that there could be one main menu (<strong>main</strong> field in menu object).<strong></strong></li>
<li><strong>opengraph.json</strong> &#8211; this file includes configuration of fields used in a block connected with metabox which is used for generating Open Graph data. We do not recommend to make any changes in it before you get acquainted with Open Graph tags implementation in GavernWP framework.</li>
<li><strong>styles.json</strong> &#8211; this file is used for generating additional theme&#8217;s styles. Except adding a new style, you have to remember about creating an additional CSS file which will be loaded while changing theme&#8217;s style.</li>
<li><strong>template.json</strong> &#8211; it is the most important configuration file. It includes information about a theme and it allows to switch off chosen elements of theme administration panel. It is NOT recommended to add new fields to this files because they will not be used without additional PHP code.</li>
<li><strong>widgets.json</strong> &#8211; a file including a list of all positions of widgets. Similarly to <strong>menus.json</strong> file, you have to remember that except adding a new widget position, you have to also add PHP code which generates it in a theme.</li>
<li><strong>widgets.styles.json</strong> &#8211; a file used for creating new widget styles. Thanks to its implementation, it allows to assign a style given to one widget type only or exclude some widget types from a style given.</li>
</ul>
<p>In order to understand better JSON files format, we recommend to visit the official website of  <a href="http://www.json.org/">this format</a>.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/json-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
	</channel>
</rss>
