<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged multilanguage</title>
<link>https://www.question2answer.org/qa/tag/multilanguage</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to add a language indication in url with ip of the user ..</title>
<link>https://www.question2answer.org/qa/91968/how-to-add-a-language-indication-in-url-with-ip-of-the-user</link>
<description>

&lt;p&gt;I mean that if the user is from France then the site's base URL will be like &lt;em&gt;&lt;strong&gt;&lt;a href=&quot;https://site.com/fr/&quot; rel=&quot;nofollow&quot;&gt;https://site.com/fr/&lt;/a&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;and like that with different countries .. and we can change the language accordingly.&lt;/p&gt;

&lt;p&gt;I only want to change the language of the main navs and all the other things there .. but not the content posted
&lt;br&gt;Please suggest.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/91968/how-to-add-a-language-indication-in-url-with-ip-of-the-user</guid>
<pubDate>Fri, 26 Mar 2021 03:47:14 +0000</pubDate>
</item>
<item>
<title>Hiding post with tags on main page</title>
<link>https://www.question2answer.org/qa/90444/hiding-post-with-tags-on-main-page</link>
<description>

&lt;p&gt;Hi friend,&lt;/p&gt;

&lt;p&gt;I use some specific tags (with language name) for posting questions on this langauage .So I dont want to see this questions&amp;nbsp; (&lt;strong&gt;which includes that tags&lt;/strong&gt;) show on main website pages.Actually dont want to see on another pages or categories too if it is possible.Only want to see posts when I visit that tag.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/90444/hiding-post-with-tags-on-main-page</guid>
<pubDate>Tue, 19 Jan 2021 13:27:43 +0000</pubDate>
</item>
<item>
<title>Use in multiple languages</title>
<link>https://www.question2answer.org/qa/90216/use-in-multiple-languages</link>
<description>Do you plan to make the script multilingual in the future?&lt;br /&gt;
&lt;br /&gt;
Our main site has several languages, but q2a can only use one main language without additional installations. Please make the script multilingual so that one installation can be used in different languages. That would be amazing. On one installation, the script can be used from different countries, speaking different languages, it should be very convenient for everyone. Will you do this in future updates?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/90216/use-in-multiple-languages</guid>
<pubDate>Fri, 08 Jan 2021 09:05:54 +0000</pubDate>
</item>
<item>
<title>Extra fields on user pages or registration form in multiple and multilingual Q2A sites</title>
<link>https://www.question2answer.org/qa/88676/extra-fields-pages-registration-multiple-multilingual-sites</link>
<description>

&lt;h3&gt;Extra fields on user pages or registration form in multiple and multilingual Q2A sites&lt;/h3&gt;

&lt;div&gt;The fact is that these fields are the same for all related multiple sites Q2A, with the same&amp;nbsp; users.&lt;/div&gt;

&lt;div&gt;I add a field on one site, it is added to others. But in the same language, how do I change the language on all sites?&lt;/div&gt;

&lt;p&gt;1. I use mysql table '&lt;span style=&quot;background-color:#e5e5e5; color:#008000; font-family:monospace; font-size:8.528px&quot;&gt;`qa_userfields`&lt;/span&gt;'&amp;nbsp;set '&lt;em&gt;content'=NULL&lt;/em&gt; for standart fields&lt;/p&gt;

&lt;table&gt;

&lt;thead&gt;

&lt;tr&gt;

&lt;th colspan=&quot;3&quot; style=&quot;vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/sql.php?db=uchitnet_amm_ru&amp;amp;table=qa_userfields&amp;amp;sql_query=SELECT+%2A+FROM+%60qa_userfields%60&amp;amp;goto=sql.php%3Fdb%3Duchitnet_amm_ru%26amp%3Btable%3Dqa_userfields%26amp%3Blang%3Dru-utf-8%26amp%3Bconvcharset%3Dutf-8%26amp%3Bcollation_connection%3Dutf8_general_ci%26amp%3Btoken%3D437fac13f05ebd4e07a3dab5e7d76497%26amp%3Bsql_query%3DSELECT%2B%252A%2BFROM%2B%2560qa_userfields%2560&amp;amp;display_options_form=1&amp;amp;display_text=F&amp;amp;lang=ru-utf-8&amp;amp;convcharset=utf-8&amp;amp;collation_connection=utf8_general_ci&amp;amp;token=437fac13f05ebd4e07a3dab5e7d76497&amp;amp;phpMyAdmin=b0lefs0m4eti7meask8onm04u1&quot;&gt;&lt;img alt=&quot;Развернутое отображение данных&quot; title=&quot;Развернутое отображение данных&quot; src=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/themes/original/img/s_fulltext.png&quot; style=&quot;border-style:initial; border-width:0px; height:20px; width:50px&quot;&gt;&lt;/a&gt;&lt;/th&gt;

&lt;th style=&quot;vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/sql.php?db=uchitnet_amm_ru&amp;amp;table=qa_userfields&amp;amp;sql_query=SELECT+%2A+FROM+%60qa_userfields%60+ORDER+BY+%60qa_userfields%60.%60fieldid%60+ASC&amp;amp;lang=ru-utf-8&amp;amp;convcharset=utf-8&amp;amp;collation_connection=utf8_general_ci&amp;amp;token=437fac13f05ebd4e07a3dab5e7d76497&amp;amp;phpMyAdmin=b0lefs0m4eti7meask8onm04u1&quot;&gt;fieldid&lt;/a&gt;&lt;/th&gt;

&lt;th style=&quot;vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/sql.php?db=uchitnet_amm_ru&amp;amp;table=qa_userfields&amp;amp;sql_query=SELECT+%2A+FROM+%60qa_userfields%60+ORDER+BY+%60qa_userfields%60.%60title%60+ASC&amp;amp;lang=ru-utf-8&amp;amp;convcharset=utf-8&amp;amp;collation_connection=utf8_general_ci&amp;amp;token=437fac13f05ebd4e07a3dab5e7d76497&amp;amp;phpMyAdmin=b0lefs0m4eti7meask8onm04u1&quot;&gt;title&lt;/a&gt;&lt;/th&gt;

&lt;th style=&quot;vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/sql.php?db=uchitnet_amm_ru&amp;amp;table=qa_userfields&amp;amp;sql_query=SELECT+%2A+FROM+%60qa_userfields%60+ORDER+BY+%60qa_userfields%60.%60content%60+ASC&amp;amp;lang=ru-utf-8&amp;amp;convcharset=utf-8&amp;amp;collation_connection=utf8_general_ci&amp;amp;token=437fac13f05ebd4e07a3dab5e7d76497&amp;amp;phpMyAdmin=b0lefs0m4eti7meask8onm04u1&quot;&gt;content&lt;/a&gt;&lt;/th&gt;

&lt;th style=&quot;vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/sql.php?db=uchitnet_amm_ru&amp;amp;table=qa_userfields&amp;amp;sql_query=SELECT+%2A+FROM+%60qa_userfields%60+ORDER+BY+%60qa_userfields%60.%60position%60+ASC&amp;amp;lang=ru-utf-8&amp;amp;convcharset=utf-8&amp;amp;collation_connection=utf8_general_ci&amp;amp;token=437fac13f05ebd4e07a3dab5e7d76497&amp;amp;phpMyAdmin=b0lefs0m4eti7meask8onm04u1&quot;&gt;position&lt;/a&gt;&lt;/th&gt;

&lt;th style=&quot;vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/sql.php?db=uchitnet_amm_ru&amp;amp;table=qa_userfields&amp;amp;sql_query=SELECT+%2A+FROM+%60qa_userfields%60+ORDER+BY+%60qa_userfields%60.%60flags%60+ASC&amp;amp;lang=ru-utf-8&amp;amp;convcharset=utf-8&amp;amp;collation_connection=utf8_general_ci&amp;amp;token=437fac13f05ebd4e07a3dab5e7d76497&amp;amp;phpMyAdmin=b0lefs0m4eti7meask8onm04u1&quot;&gt;flags&lt;/a&gt;&lt;/th&gt;

&lt;th style=&quot;vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/sql.php?db=uchitnet_amm_ru&amp;amp;table=qa_userfields&amp;amp;sql_query=SELECT+%2A+FROM+%60qa_userfields%60+ORDER+BY+%60qa_userfields%60.%60permit%60+ASC&amp;amp;lang=ru-utf-8&amp;amp;convcharset=utf-8&amp;amp;collation_connection=utf8_general_ci&amp;amp;token=437fac13f05ebd4e07a3dab5e7d76497&amp;amp;phpMyAdmin=b0lefs0m4eti7meask8onm04u1&quot;&gt;permit&lt;/a&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;

&lt;tbody&gt;

&lt;tr&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/tbl_change.php?db=uchitnet_amm_ru&amp;amp;table=qa_userfields&amp;amp;where_clause=%60qa_userfields%60.%60fieldid%60+%3D+1&amp;amp;clause_is_unique=1&amp;amp;sql_query=SELECT+%2A+FROM+%60qa_userfields%60&amp;amp;goto=sql.php&amp;amp;lang=ru-utf-8&amp;amp;convcharset=utf-8&amp;amp;collation_connection=utf8_general_ci&amp;amp;token=437fac13f05ebd4e07a3dab5e7d76497&amp;amp;phpMyAdmin=b0lefs0m4eti7meask8onm04u1&quot;&gt;&lt;img title=&quot;Изменить&quot; alt=&quot;Изменить&quot; src=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/themes/original/img/b_edit.png&quot; style=&quot;border-style:initial; border-width:0px; height:16px; margin:0px; width:16px&quot;&gt;&lt;/a&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;1&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;name&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;em&gt;NULL&lt;/em&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;1&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;0&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;150&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/tbl_change.php?db=uchitnet_amm_ru&amp;amp;table=qa_userfields&amp;amp;where_clause=%60qa_userfields%60.%60fieldid%60+%3D+2&amp;amp;clause_is_unique=1&amp;amp;sql_query=SELECT+%2A+FROM+%60qa_userfields%60&amp;amp;goto=sql.php&amp;amp;lang=ru-utf-8&amp;amp;convcharset=utf-8&amp;amp;collation_connection=utf8_general_ci&amp;amp;token=437fac13f05ebd4e07a3dab5e7d76497&amp;amp;phpMyAdmin=b0lefs0m4eti7meask8onm04u1&quot;&gt;&lt;img title=&quot;Изменить&quot; alt=&quot;Изменить&quot; src=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/themes/original/img/b_edit.png&quot; style=&quot;border-style:initial; border-width:0px; height:16px; margin:0px; width:16px&quot;&gt;&lt;/a&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;2&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;location&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;em&gt;NULL&lt;/em&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;3&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;0&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;120&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/tbl_change.php?db=uchitnet_amm_ru&amp;amp;table=qa_userfields&amp;amp;where_clause=%60qa_userfields%60.%60fieldid%60+%3D+3&amp;amp;clause_is_unique=1&amp;amp;sql_query=SELECT+%2A+FROM+%60qa_userfields%60&amp;amp;goto=sql.php&amp;amp;lang=ru-utf-8&amp;amp;convcharset=utf-8&amp;amp;collation_connection=utf8_general_ci&amp;amp;token=437fac13f05ebd4e07a3dab5e7d76497&amp;amp;phpMyAdmin=b0lefs0m4eti7meask8onm04u1&quot;&gt;&lt;img title=&quot;Изменить&quot; alt=&quot;Изменить&quot; src=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/themes/original/img/b_edit.png&quot; style=&quot;border-style:initial; border-width:0px; height:16px; margin:0px; width:16px&quot;&gt;&lt;/a&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;3&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;website&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;em&gt;NULL&lt;/em&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;4&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;2&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;150&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/tbl_change.php?db=uchitnet_amm_ru&amp;amp;table=qa_userfields&amp;amp;where_clause=%60qa_userfields%60.%60fieldid%60+%3D+4&amp;amp;clause_is_unique=1&amp;amp;sql_query=SELECT+%2A+FROM+%60qa_userfields%60&amp;amp;goto=sql.php&amp;amp;lang=ru-utf-8&amp;amp;convcharset=utf-8&amp;amp;collation_connection=utf8_general_ci&amp;amp;token=437fac13f05ebd4e07a3dab5e7d76497&amp;amp;phpMyAdmin=b0lefs0m4eti7meask8onm04u1&quot;&gt;&lt;img title=&quot;Изменить&quot; alt=&quot;Изменить&quot; src=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/themes/original/img/b_edit.png&quot; style=&quot;border-style:initial; border-width:0px; height:16px; margin:0px; width:16px&quot;&gt;&lt;/a&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;4&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;about&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;em&gt;NULL&lt;/em&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;5&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;1&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;120&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/tbl_change.php?db=uchitnet_amm_ru&amp;amp;table=qa_userfields&amp;amp;where_clause=%60qa_userfields%60.%60fieldid%60+%3D+6&amp;amp;clause_is_unique=1&amp;amp;sql_query=SELECT+%2A+FROM+%60qa_userfields%60&amp;amp;goto=sql.php&amp;amp;lang=ru-utf-8&amp;amp;convcharset=utf-8&amp;amp;collation_connection=utf8_general_ci&amp;amp;token=437fac13f05ebd4e07a3dab5e7d76497&amp;amp;phpMyAdmin=b0lefs0m4eti7meask8onm04u1&quot;&gt;&lt;img title=&quot;Изменить&quot; alt=&quot;Изменить&quot; src=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/themes/original/img/b_edit.png&quot; style=&quot;border-style:initial; border-width:0px; height:16px; margin:0px; width:16px&quot;&gt;&lt;/a&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;6&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;custom-field&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;My Custom field&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;2&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;4&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;120&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/tbl_change.php?db=uchitnet_amm_ru&amp;amp;table=qa_userfields&amp;amp;where_clause=%60qa_userfields%60.%60fieldid%60+%3D+7&amp;amp;clause_is_unique=1&amp;amp;sql_query=SELECT+%2A+FROM+%60qa_userfields%60&amp;amp;goto=sql.php&amp;amp;lang=ru-utf-8&amp;amp;convcharset=utf-8&amp;amp;collation_connection=utf8_general_ci&amp;amp;token=437fac13f05ebd4e07a3dab5e7d76497&amp;amp;phpMyAdmin=b0lefs0m4eti7meask8onm04u1&quot;&gt;&lt;img title=&quot;Изменить&quot; alt=&quot;Изменить&quot; src=&quot;https://www.valuehost.ru/ru/hosting/webtools/mysqladmin2/themes/original/img/b_edit.png&quot; style=&quot;border-style:initial; border-width:0px; height:16px; margin:0px; width:16px&quot;&gt;&lt;/a&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;7&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;new-field&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;&lt;em&gt;NULL&lt;/em&gt;&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;6&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;0&lt;/td&gt;

&lt;td style=&quot;vertical-align:top&quot;&gt;120&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;&amp;nbsp;translite &lt;em&gt;'qa-lang-users.php' &lt;/em&gt;standart fields is work&lt;/p&gt;

&lt;p&gt;If I add additional fields it doesn't work.&lt;/p&gt;

&lt;p&gt;How can I change the standard names in English (website-&amp;gt; My&amp;nbsp;website) and add additional ones with translation to another site&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/88676/extra-fields-pages-registration-multiple-multilingual-sites</guid>
<pubDate>Tue, 27 Oct 2020 07:35:58 +0000</pubDate>
</item>
<item>
<title>How to select language of the website depending on user's language?</title>
<link>https://www.question2answer.org/qa/83199/how-to-select-language-the-website-depending-users-language</link>
<description>

&lt;p&gt;I am curious if anyone has done this before. I want to have two languages on my q2a website. The primary language of my site is Russian, but I am seeking for an option to automatically translate text to English if the visitor's user-agent indicates English.&lt;/p&gt;

&lt;p&gt;To be more clear, here is a simple example:&lt;/p&gt;

&lt;ol&gt;

&lt;li&gt;User's user-agent shows Russian - the website will be on Russian&lt;/li&gt;

&lt;li&gt;If the user's user-agent shows English - the website will be on English&lt;/li&gt;&lt;/ol&gt;

&lt;div&gt;Any ideas on how to implement this? Additionally, did anyone connect the q2a website to Google Translate to get an instant translation?&lt;/div&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/83199/how-to-select-language-the-website-depending-users-language</guid>
<pubDate>Wed, 29 Apr 2020 02:11:37 +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>Multilingual q2a forum - Best practice?</title>
<link>https://www.question2answer.org/qa/52958/multilingual-q2a-forum-best-practice</link>
<description>I am considering a project, where each user group of a certain language gets their &amp;quot;own forum&amp;quot;, meaning interface in their language, all posts/content in their language, so their own ecosystem.&lt;br /&gt;
&lt;br /&gt;
I would like to use subdomains, e.g.&lt;br /&gt;
&lt;br /&gt;
de.myforum.com&lt;br /&gt;
en.myforum.com&lt;br /&gt;
ru.myforum.com&lt;br /&gt;
&lt;br /&gt;
Now I think, maybe it is a nice idea to have a common userbase (qa_users, using external users). Or if I should &amp;quot;merge&amp;quot; parts of the forums together (e.g. theme file). Or just keep them all separate...&lt;br /&gt;
&lt;br /&gt;
Now I am wondering if anyone of you has already developed such a project.&lt;br /&gt;
&lt;br /&gt;
Which best practices should we follow? What are issues to face?&lt;br /&gt;
&lt;br /&gt;
Thx in advance.&lt;br /&gt;
&lt;br /&gt;
Related:&lt;br /&gt;
&lt;a href=&quot;http://www.question2answer.org/qa/2448/multilanguage-feature-achieve-different-language-activity&quot; rel=&quot;nofollow&quot;&gt;http://www.question2answer.org/qa/2448/multilanguage-feature-achieve-different-language-activity&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.question2answer.org/qa/22244/how-can-the-user-switch-the-language-of-the-q2a-forum&quot; rel=&quot;nofollow&quot;&gt;http://www.question2answer.org/qa/22244/how-can-the-user-switch-the-language-of-the-q2a-forum&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.question2answer.org/qa/tag/multilanguage&quot; rel=&quot;nofollow&quot;&gt;http://www.question2answer.org/qa/tag/multilanguage&lt;/a&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/52958/multilingual-q2a-forum-best-practice</guid>
<pubDate>Tue, 09 Aug 2016 07:31:20 +0000</pubDate>
</item>
<item>
<title>Localization and  Plurals in Q2A!</title>
<link>https://www.question2answer.org/qa/52899/localization-and-plurals-in-q2a</link>
<description>

&lt;p&gt;The english language is very simple when it comes to plurals.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;You have 0 elephants, 1 elephant, or 2+ elephants.&lt;/em&gt;&amp;nbsp;So basically you have 2 different forms: one singular and one plural.&lt;/p&gt;

&lt;p&gt;
&lt;br&gt;But for some other languages this is quite more difficult. Let's take the Bosnian language as another example:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;You have [1/21/31] slon, [2/3/4] slona, [0/5/6] slonova and [7/8/9/11] ...&lt;/em&gt;&amp;nbsp;and some more difficult rules.&lt;/p&gt;

&lt;p&gt;The problem with the old system of plurals was, that you would have needed to specify them all, and get a loop in there.&lt;/p&gt;

&lt;p&gt;
&lt;br&gt;it was not really hard to find a suitable solution. You should&amp;nbsp;use this&amp;nbsp;system in Q2A: &amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://developer.mozilla.org/en/Localization_and_Plurals&quot;&gt;https://developer.mozilla.org/en/Localization_and_Plurals&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/52899/localization-and-plurals-in-q2a</guid>
<pubDate>Fri, 05 Aug 2016 12:50:03 +0000</pubDate>
</item>
<item>
<title>4 language IN ONE WEBSIET</title>
<link>https://www.question2answer.org/qa/51954/4-language-in-one-websiet</link>
<description>

&lt;p&gt;&lt;span style=&quot;color:rgb(34, 34, 34); font-size:16px&quot;&gt;welcome everybody
&lt;br&gt;
&lt;br&gt;Can I&amp;nbsp;add&amp;nbsp;the option to leave&amp;nbsp;the freedom to choose&amp;nbsp;the language of&amp;nbsp;the site
&lt;br&gt;
&lt;br&gt;I want&amp;nbsp;to provide a&amp;nbsp;4 languages&amp;nbsp;to my website&amp;nbsp;offline&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;V &amp;gt;1.7.4&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/51954/4-language-in-one-websiet</guid>
<pubDate>Wed, 01 Jun 2016 04:15:22 +0000</pubDate>
</item>
<item>
<title>Can a normal user select language?</title>
<link>https://www.question2answer.org/qa/50684/can-a-normal-user-select-language</link>
<description>I installed q2a. Many users use my q2a site.&lt;br /&gt;
&lt;br /&gt;
User A want English. User B want Korean.&lt;br /&gt;
&lt;br /&gt;
How can select there favorite language from q2a?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/50684/can-a-normal-user-select-language</guid>
<pubDate>Sun, 28 Feb 2016 14:52:47 +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>Unknown language in my websites' users page.</title>
<link>https://www.question2answer.org/qa/29888/unknown-language-in-my-websites-users-page</link>
<description>I has set English UK as default &amp;nbsp;languge in my website ---&amp;gt;&lt;a href=&quot;http://decodinghinduism.in/users&quot; rel=&quot;nofollow&quot;&gt;http://decodinghinduism.in/users&lt;/a&gt; ...... I am wonder, i saw an unknown language is showing something info related to badges/points. How to change it to English? Someone please help me!</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/29888/unknown-language-in-my-websites-users-page</guid>
<pubDate>Fri, 13 Dec 2013 05:19:55 +0000</pubDate>
</item>
<item>
<title>Easy way to replace commas by dots?</title>
<link>https://www.question2answer.org/qa/27257/easy-way-to-replace-commas-by-dots</link>
<description>In some languages the number separator is a dot instead of a comma, which means 17,000 is actually written as 17.000.&lt;br /&gt;
&lt;br /&gt;
Is there an easy way to replace all commas by dots in counters such as views and user points?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/27257/easy-way-to-replace-commas-by-dots</guid>
<pubDate>Mon, 02 Sep 2013 18:22:56 +0000</pubDate>
</item>
<item>
<title>How can I set 2 or more languages, and same content?</title>
<link>https://www.question2answer.org/qa/19104/how-can-i-set-2-or-more-languages-and-same-content</link>
<description>First of all, I'm really impressed with the quality of this product!&lt;br /&gt;
&lt;br /&gt;
Really, really, good job and many thanks.&lt;br /&gt;
&lt;br /&gt;
I'll say 'thank you' in anoth€r way when possible ; )&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
I have seen you suggest to install another Q&amp;amp;A to set it in a different language but... how can I have just the interface translated but same content, in the original language posted?&lt;br /&gt;
&lt;br /&gt;
Thank you for any suggestion</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/19104/how-can-i-set-2-or-more-languages-and-same-content</guid>
<pubDate>Mon, 12 Nov 2012 04:39:08 +0000</pubDate>
</item>
<item>
<title>custom field selectbox rather than textfield</title>
<link>https://www.question2answer.org/qa/18092/custom-field-selectbox-rather-than-textfield</link>
<description>I use nationality in the profile of a user, but I'd like to have them select a language (and store the language code like &amp;quot;it&amp;quot; for italian)...&lt;br /&gt;
&lt;br /&gt;
displaying the &amp;quot;it&amp;quot; i should get the full language name to display</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/18092/custom-field-selectbox-rather-than-textfield</guid>
<pubDate>Mon, 01 Oct 2012 03:05:14 +0000</pubDate>
</item>
<item>
<title>Custom field label included in language files</title>
<link>https://www.question2answer.org/qa/18091/custom-field-label-included-in-language-files</link>
<description>I have multiple Q2A sites with different languages, the user_db is the same for all, the label name gets translated in the various languages, I added the custom filed nationality and tried to figure out how the standard labels get their value out of the language file...&lt;br /&gt;
&lt;br /&gt;
but somewhere down the line I got too confused tracing the code, in th db its pretty simple, i set the content to null and hoped Q2A would automatically pick up my added label in the langauge files...</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/18091/custom-field-label-included-in-language-files</guid>
<pubDate>Mon, 01 Oct 2012 02:41:19 +0000</pubDate>
</item>
<item>
<title>can anybody help me about the search function for Japanese</title>
<link>https://www.question2answer.org/qa/5012/can-anybody-help-me-about-the-search-function-for-japanese</link>
<description>

&lt;p&gt;
	In japanese, there are no space between words, so this search engline can't pick up any words and but only words in tags.&lt;/p&gt;


&lt;p&gt;
	I found the following Q&amp;amp;A&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color: #0000ff&quot;&gt;Q2A converts text into words (for searching) based on separating out words by word delimiters, like spaces (obviously), commas, quote marks, etc...&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color: #0000ff&quot;&gt;You can see the full set used at the top of qa-util-string.php, in the constant QA_PREG_INDEX_WORD_SEPARATOR and also in the mapping $qa_utf8punctuation which converts UTF-8 punctuation characters.&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color: #0000ff&quot;&gt;In the case of Chinese and similar languages, there are no word delimiters per se, but rather each multibyte (UTF-8) character is essentially a separate word.&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;I don't know what exactly how I do that. It wound very much appreciate if someone write me a code and tell me where I put it on which file.&lt;/p&gt;


&lt;p&gt;
	One of the usrs wrote the following code but it seems to be problem because of slowness.&lt;/p&gt;


&lt;p&gt;
	That is what he did:&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color: #0000ff&quot;&gt;open qa-include/qa-db-selects.php file and go to qa_db_search_posts_selectspec() function.&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;nbsp;
&lt;br&gt;
	Just before below line ( almost end of function )
&lt;br&gt;
	&amp;nbsp;
&lt;br&gt;
	if ($selectparts==0)
&lt;br&gt;
	&amp;nbsp;
&lt;br&gt;
	add this lines
&lt;br&gt;
	&amp;nbsp;
&lt;br&gt;
	&amp;nbsp;
&lt;br&gt;
	if (!empty($handlewords)) {
&lt;br&gt;
	$aaa = implode($handlewords);}
&lt;br&gt;
	else
&lt;br&gt;
	{$aaa = $handlewords;}
&lt;br&gt;
	&amp;nbsp;
&lt;br&gt;
	$selectspec['source'].=($selectparts++ ? &amp;quot; UNION ALL &amp;quot; : &amp;quot;&amp;quot;).
&lt;br&gt;
	&amp;quot;(SELECT postid AS questionid, 0 AS score, _utf8 'Q' AS matchposttype, postid AS matchpostid FROM ^posts JOIN ^users WHERE (^posts.title like _utf8 '%&amp;quot;.$aaa.&amp;quot;%' OR ^posts.content like _utf8 '%&amp;quot;.$aaa.&amp;quot;%' ) AND type='Q' )&amp;quot;;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	
&lt;br&gt;
	This will work fine, except if your database starts containing a large amount of content, in which case it could become quite slow.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/5012/can-anybody-help-me-about-the-search-function-for-japanese</guid>
<pubDate>Tue, 08 Mar 2011 20:55:59 +0000</pubDate>
</item>
<item>
<title>Allow user to choose language V1.3</title>
<link>https://www.question2answer.org/qa/4399/allow-user-to-choose-language-v1-3</link>
<description>I saw instructions for this for V1.2 I am wondering if this will work for V1.3?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/4399/allow-user-to-choose-language-v1-3</guid>
<pubDate>Sun, 23 Jan 2011 20:46:11 +0000</pubDate>
</item>
</channel>
</rss>