<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WebCards Support Forums &#187; Topic: Default public language</title>
<link>http://www.mywebcards.net/forum/</link>
<description>WebCards Support Forums &raquo; Topic: Default public language</description>
<language>en</language>
<pubDate>Sun, 12 Feb 2012 04:59:09 +0000</pubDate>

<item>
<title>corbyboy on "Default public language"</title>
<link>http://www.mywebcards.net/forum/topic/default-public-language#post-292</link>
<pubDate>Wed, 06 Jan 2010 23:26:27 +0000</pubDate>
<dc:creator>corbyboy</dc:creator>
<guid isPermaLink="false">292@http://www.mywebcards.net/forum/</guid>
<description>&#60;p&#62;There are no official translations available because, frankly, I would never be able to keep up with the constant updates that would be necessary.&#60;/p&#62;
&#60;p&#62;If you make a translation from the English language file, you are free to do what you like with it. Sell it, give it away for free, it belongs to you so you can decide.&#60;/p&#62;
&#60;p&#62;If you would like to release it to the community, I would be happy to make it an &#34;official&#34; release and let everybody else download it if you would like.
&#60;/p&#62;</description>
</item>
<item>
<title>Lufrutta on "Default public language"</title>
<link>http://www.mywebcards.net/forum/topic/default-public-language#post-291</link>
<pubDate>Wed, 06 Jan 2010 21:52:16 +0000</pubDate>
<dc:creator>Lufrutta</dc:creator>
<guid isPermaLink="false">291@http://www.mywebcards.net/forum/</guid>
<description>&#60;p&#62;I started to translate but I'm a bit under time pressure with other projects at the moment. So I'll not be able to do a seriouse translation work before February or even beginning of March.&#60;/p&#62;
&#60;p&#62;Just allow me a general question. I'm not sure how it works with WebCards. In my opinion it is not an open source software like Joomla! or Wordpress (to be honest, I did not take the time to read thru any licenses) I paied these $50.-- because I belive it is worth. The code is seriouse and save, well structured and not overloaded and it is very easy to create own templates. When I do the translations it will not be a problem for me to make them public. But it could be against the rules here. Who knows the answer to that issue? How is this handled?
&#60;/p&#62;</description>
</item>
<item>
<title>krillmeed on "Default public language"</title>
<link>http://www.mywebcards.net/forum/topic/default-public-language#post-290</link>
<pubDate>Wed, 06 Jan 2010 18:02:24 +0000</pubDate>
<dc:creator>krillmeed</dc:creator>
<guid isPermaLink="false">290@http://www.mywebcards.net/forum/</guid>
<description>&#60;p&#62;I would also be interested in having the language files for German if its possible
&#60;/p&#62;</description>
</item>
<item>
<title>corbyboy on "Default public language"</title>
<link>http://www.mywebcards.net/forum/topic/default-public-language#post-289</link>
<pubDate>Tue, 05 Jan 2010 23:09:27 +0000</pubDate>
<dc:creator>corbyboy</dc:creator>
<guid isPermaLink="false">289@http://www.mywebcards.net/forum/</guid>
<description>&#60;p&#62;No problem. I will get it fixed in the next release too.
&#60;/p&#62;</description>
</item>
<item>
<title>Lufrutta on "Default public language"</title>
<link>http://www.mywebcards.net/forum/topic/default-public-language#post-288</link>
<pubDate>Tue, 05 Jan 2010 22:01:00 +0000</pubDate>
<dc:creator>Lufrutta</dc:creator>
<guid isPermaLink="false">288@http://www.mywebcards.net/forum/</guid>
<description>&#60;p&#62;Great, it works fine. Thank you very much.
&#60;/p&#62;</description>
</item>
<item>
<title>corbyboy on "Default public language"</title>
<link>http://www.mywebcards.net/forum/topic/default-public-language#post-287</link>
<pubDate>Tue, 05 Jan 2010 21:39:02 +0000</pubDate>
<dc:creator>corbyboy</dc:creator>
<guid isPermaLink="false">287@http://www.mywebcards.net/forum/</guid>
<description>&#60;p&#62;This was an error I was not aware of. Here is how to fix it.&#60;/p&#62;
&#60;p&#62;Open up index.php and about line 77 find this section:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;if($conf['allow_langs'] == &#34;n&#34;) //If changing languages is disabled the user must use the default language&#60;br /&#62;
{&#60;br /&#62;
	$lang_dir = $conf['default_pub_lang'];&#60;br /&#62;
}&#60;br /&#62;
$lang_dir = file_exists($conf['dir'] . $lang_dir . &#34;.php&#34;) ? $lang_dir : &#34;en-gb&#34;;&#60;br /&#62;
require_once &#34;./lang/&#34; . $lang_dir . &#34;.php&#34;;
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Replace it with this block of code:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;//Require our language file&#60;br /&#62;
$lang_dir = file_exists($conf['dir'] . &#34;lang/&#34; . $conf['default_pub_lang'] . &#34;.php&#34;) ? $conf['default_pub_lang'] : &#34;en-gb&#34;;&#60;br /&#62;
require_once $conf['dir'] . &#34;lang/&#34; . $lang_dir . &#34;.php&#34;;&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Let me know if you have any problems with this.
&#60;/p&#62;</description>
</item>
<item>
<title>Lufrutta on "Default public language"</title>
<link>http://www.mywebcards.net/forum/topic/default-public-language#post-286</link>
<pubDate>Tue, 05 Jan 2010 07:20:02 +0000</pubDate>
<dc:creator>Lufrutta</dc:creator>
<guid isPermaLink="false">286@http://www.mywebcards.net/forum/</guid>
<description>&#60;p&#62;I would like to have WebCards translated to German. So I copied en-gb.php to de-fo.php and to de-in.php. I'd like to have the formal and the informal German translation. (For a first try I just translated line 148 &#60;code&#62;$lang[&#38;#39;choose_img&#38;#39;] = &#38;quot;Choose an Image to Send with Your {{site_title}}&#38;quot;;&#60;/code&#62; to get a quick result in the front end) I also changed line 2 to &#60;code&#62;$lang[&#38;#39;xml_format&#38;#39;] = &#38;quot;de&#38;quot;;&#60;/code&#62; and line 3 to &#60;code&#62;$lang[&#38;#39;charset&#38;#39;] = &#38;quot;utf-8&#38;quot;;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I also made a view changes to lang_conf.php in the directory lang. So the content is now:&#60;br /&#62;
&#60;code&#62;&#38;lt;?php&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;$lang_array[&#38;#39;en-gb&#38;#39;] = &#38;quot;English (British)&#38;quot;;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;$lang_array[&#38;#39;de-fo&#38;#39;] = &#38;quot;Deutsch (formell)&#38;quot;;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;$lang_array[&#38;#39;de-in&#38;#39;] = &#38;quot;Deutsch (informell)&#38;quot;;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Now I'm able to choose the 2 additional languages in the Administration Center but a change will not appear in the front end. I run task manager, I rebuilt the chache but it does not work.&#60;/p&#62;
&#60;p&#62;Is there anything else to be done?
&#60;/p&#62;</description>
</item>

</channel>
</rss>

