Search found 4 matches

by autoua
Sun Oct 02, 2005 12:53 pm
Forum: General discussions
Topic: How do made only one languages
Replies: 7
Views: 10966

Thorsten wrote:Hi,

oops... maybe there's a minor bug. UI'll check this!

bye
Thorsten
Manu user did not set language in our browsers. May be phpMyFAQ did not know what language should use?
by autoua
Sun Oct 02, 2005 12:25 pm
Forum: General discussions
Topic: How do made only one languages
Replies: 7
Views: 10966

Thorsten wrote:Hi,

just disable the automatic language detection in the configuration and remove / hide the language selection box in template/index.tpl.

bye
Thorsten
I made it in first time. but FAQ scripts wrote to cookies lang=en, but I ned ru.
by autoua
Sun Oct 02, 2005 9:37 am
Forum: General discussions
Topic: How do made only one languages
Replies: 7
Views: 10966

Re: yep!

I would like to know that too!


I has made it:
if (isset($LANGCODE) && isset($languageCodes[strtoupper($LANGCODE)])) {
require_once("lang/language_".$LANGCODE.".php");
} else {
$LANGCODE = "ru";
require_once ("lang/language_ru.php");
}


$LANGCODE = "en"; changed to $LANGCODE = "ru ...
by autoua
Sat Oct 01, 2005 9:31 pm
Forum: General discussions
Topic: How do made only one languages
Replies: 7
Views: 10966

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.