How do made only one languages
Moderator: Thorsten
How do made only one languages
How do made only one languages? All articles have [RU], but scripts by default showing in English. In admin panel I configured in Russian.
yep!
I would like to know that too!
It will take some months before we start building faq in more languages, so if the browser-language check could be skipped and a default be used always I think we would do that for a start!
I also think that after some hours could spot the pice of code. But I believe Thorsten can in seconds!
It will take some months before we start building faq in more languages, so if the browser-language check could be skipped and a default be used always I think we would do that for a start!
I also think that after some hours could spot the pice of code. But I believe Thorsten can in seconds!
Re: yep!
I has made it:jazcyk wrote:I would like to know that too!
Code: Select all
if (isset($LANGCODE) && isset($languageCodes[strtoupper($LANGCODE)])) {
require_once("lang/language_".$LANGCODE.".php");
} else {
$LANGCODE = "ru";
require_once ("lang/language_ru.php");
}
require_once ("lang/language_en.php"); to
require_once ("lang/language_ru.php");
Hi,
just disable the automatic language detection in the configuration and remove / hide the language selection box in template/index.tpl.
bye
Thorsten
just disable the automatic language detection in the configuration and remove / hide the language selection box in template/index.tpl.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
oops... maybe there's a minor bug. UI'll check this!
bye
Thorsten
oops... maybe there's a minor bug. UI'll check this!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
bye
Thorsten
that's why you can disable the automatic language detection. But this have to be improved.autoua wrote:Manu user did not set language in our browsers. May be phpMyFAQ did not know what language should use?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist