<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged language-options</title>
<link>https://www.question2answer.org/qa/tag/language-options</link>
<description>Powered by Question2Answer</description>
<item>
<title>How To Change Lang Attribute lang=&quot;en&quot; to lang=&quot;hi-IN&quot;?</title>
<link>https://www.question2answer.org/qa/101055/how-to-change-lang-attribute-lang-en-to-lang-hi-in</link>
<description>How To Change Lang Attribute lang=&amp;quot;en&amp;quot; to lang=&amp;quot;hi-IN&amp;quot;?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/101055/how-to-change-lang-attribute-lang-en-to-lang-hi-in</guid>
<pubDate>Thu, 05 May 2022 12:51:31 +0000</pubDate>
</item>
<item>
<title>How to Define lang attribute in Q2A?</title>
<link>https://www.question2answer.org/qa/97348/how-to-define-lang-attribute-in-q2a</link>
<description>Hey Developers...&lt;br /&gt;
&lt;br /&gt;
My website in Hindi Language. Please tell me how to define lang=&amp;quot;hi&amp;quot; in my website?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/97348/how-to-define-lang-attribute-in-q2a</guid>
<pubDate>Sat, 06 Nov 2021 06:47:42 +0000</pubDate>
</item>
<item>
<title>Is there a language switch plugin?</title>
<link>https://www.question2answer.org/qa/73888/is-there-a-language-switch-plugin</link>
<description></description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/73888/is-there-a-language-switch-plugin</guid>
<pubDate>Thu, 04 Apr 2019 22:20:34 +0000</pubDate>
</item>
<item>
<title>Tip: Fastest hack for getting multilingual page by subdomain</title>
<link>https://www.question2answer.org/qa/54068/tip-fastest-hack-for-getting-multilingual-page-by-subdomain</link>
<description>

&lt;p&gt;&lt;span style=&quot;font-family:arial,helvetica,sans-serif&quot;&gt;&lt;strong&gt;Hack of file qa-base.php:&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;function qa_opt($name, $value=null)
&lt;br&gt;/*
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Shortcut to get or set an option value without specifying database
&lt;br&gt;*/
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&lt;span style=&quot;color:#0000FF&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;// *** q2apro hack for LANG switcher by&amp;nbsp;subdomain, e.g. en.yourdomain.com
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$domainparts = explode(&quot;.&quot;, $_SERVER['HTTP_HOST']);
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$subdomain = array_shift($domainparts);
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if($subdomain=='en' &amp;amp;&amp;amp; empty($value))
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if($name=='site_language')
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return 'en';
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;global $qa_options_cache;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if ((!isset($value)) &amp;amp;&amp;amp; isset($qa_options_cache[$name]))
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return $qa_options_cache[$name]; // quick shortcut to reduce calls to qa_get_options()&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;require_once QA_INCLUDE_DIR.'app/options.php';&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (isset($value))
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;qa_set_option($name, $value);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$options=qa_get_options(array($name));&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return $options[$name];
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/54068/tip-fastest-hack-for-getting-multilingual-page-by-subdomain</guid>
<pubDate>Thu, 13 Oct 2016 11:31:23 +0000</pubDate>
</item>
<item>
<title>Can install one Q2A for each language and all point to one database really work over the long run?</title>
<link>https://www.question2answer.org/qa/46075/install-each-language-point-database-really-work-over-long</link>
<description>

&lt;p&gt;I read from here: &lt;a rel=&quot;nofollow&quot; href=&quot;http://www.question2answer.org/qa/22244/how-can-the-user-switch-the-language-of-the-q2a-forum&quot;&gt;http://www.question2answer.org/qa/22244/how-can-the-user-switch-the-language-of-the-q2a-forum&lt;/a&gt; to install Q2A for each language and point all to one database, but can this work in the long run or will it eventually crash the site?&lt;/p&gt;

&lt;p&gt;I would like to have multiple languages in the Q2A (eg. German question, English answer, etc.), I just need the menu, pages, etc. to be English in English site, Russian in Russian site, etc.&amp;nbsp; And no Google translate if possible.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/46075/install-each-language-point-database-really-work-over-long</guid>
<pubDate>Wed, 24 Jun 2015 16:36:57 +0000</pubDate>
</item>
<item>
<title>Can a user easily switch language versions of the Q2A site? (v1.6)</title>
<link>https://www.question2answer.org/qa/41608/can-a-user-easily-switch-language-versions-of-the-q2a-site-v1</link>
<description>Can a user easily switch language versions of the Q2A site? For current version 1.6?&lt;br /&gt;
&lt;br /&gt;
It looks there was a plugin that used to work with 1.2 but it doesn't work any more.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://question2answer.org/qa/24173/core-hack-language-changer?show=24173#q24173&quot; rel=&quot;nofollow&quot;&gt;http://question2answer.org/qa/24173/core-hack-language-changer?show=24173#q24173&lt;/a&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/41608/can-a-user-easily-switch-language-versions-of-the-q2a-site-v1</guid>
<pubDate>Mon, 24 Nov 2014 23:33:05 +0000</pubDate>
</item>
<item>
<title>What are the other threads that deal with this particular question</title>
<link>https://www.question2answer.org/qa/23863/what-other-threads-that-deal-with-this-particular-question</link>
<description>I am a newbie when it comes to the application of Q2A. I am surprised that although the admin says that this question has already been asked so many times before there is no result when you search, there is no perma-link (if that is what the permanent link to the forum thread page is called), the question is not even hot..&lt;br /&gt;
&lt;br /&gt;
Ah well, I digress.&lt;br /&gt;
&lt;br /&gt;
I am posting this related to get the correct details and documentation to guide someone conversant in php and css or whatever to suitably customise the Q2A platform. Being true to its nature Q2A allows users to post questions and let others answer. I want to utilise it for a service complaints blog/forum so I dont expect my users to 'ask questions' but to rather 'post a complaint' and then discuss other users 'complaints' and vote and reply etc just the way Q2A works.&lt;br /&gt;
&lt;br /&gt;
Please answer with the thread or threads where this exact information can be found.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/23863/what-other-threads-that-deal-with-this-particular-question</guid>
<pubDate>Wed, 15 May 2013 13:13:17 +0000</pubDate>
</item>
<item>
<title>How about an nicer override option for en-US?</title>
<link>https://www.question2answer.org/qa/9295/how-about-an-nicer-override-option-for-en-us</link>
<description>

&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	
&lt;/p&gt;


&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255);&quot;&gt;
	

&lt;p&gt;
		Instead of requiring that we modify the default qa-lang-* files, which means a bit of a headache during upgrades, it would be great if specific words and phrases could be overridden for en-US the same way it's done for other languages. &amp;nbsp;I was thinking about adding an en-US2 option to&amp;nbsp;qa_admin_language_options(), but it might be better to just permit an en-US subdirectory of qa-lang that would be checked before using the default settings, if no other language is selected. &amp;nbsp;That or don't map 'English (US)' to '' and instead map 'default' to '' and add 'English (US)' mapped to 'en-US'.&lt;/p&gt;
&lt;/div&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/9295/how-about-an-nicer-override-option-for-en-us</guid>
<pubDate>Fri, 16 Sep 2011 15:21:55 +0000</pubDate>
</item>
<item>
<title>Language options</title>
<link>https://www.question2answer.org/qa/6545/language-options</link>
<description>Is there a way to make multiple language options for users. For example Choose Language-English or German</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/6545/language-options</guid>
<pubDate>Thu, 19 May 2011 07:57:09 +0000</pubDate>
</item>
</channel>
</rss>