Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Lithuanian 1.0 translation for Php-Fusion v7.02

Asked Modified Viewed 2,973 times
O
ozzWANTEDLT
O
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
asked
Newbie

UTF-8. This means, that I'd recommend you just after installing Php-Fusion v7.02 on your server, update the maincore.php dbconnect() function with this one:

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]// UTF-8 Supporting dbconnect edited by ozzWANTED @ PhpFusion-Lt.com
function dbconnect($db_host, $db_user, $db_pass, $db_name, $charset="utf8"wink {
global $db_connect; $db_connect = @mysql_connect($db_host, $db_user, $db_pass);
$db_select = @mysql_select_db($db_name);
if (!$db_connect) {
die("<strong>Unable to establish connection to MySQL</strong><br />".mysql_errno()." : ".mysql_error());
} elseif (!$db_select) {
die("<strong>Unable to select MySQL database</strong><br />".mysql_errno()." : ".mysql_error());
}
// SET CHARSET
if (!function_exists('mysql_set_charset'wink) {
mysql_query("SET NAMES $charset"wink;
} else {
mysql_set_charset($charset);
}
} [/syntaxhighlighter]

That's will solve the problems with Mysql (mysql default charset should be 'utf8', and collate should be 'utf8_lithuanian_ci'wink. So you can read, understand & edit the Lithuanian chars via PhpMyAdmin the same as you do in the web site. Also do this if you don't want messy DB backups.

You can ALLWAYS DOWNLOAD, THE NEWEST version of Php-Fusion v7.02 LITHUANIAN locale using this link:
http://www.phpfusion-lt.com/siustis-lietuvybe-v7-02
Edited by ozzWANTEDLT on 18-04-2011 18:49,
ozzWANTEDLT attached the following file:
lithuanian-702-v11.rar [No information available / 401 Downloads]
0 replies
There are no post found.

Category Forum

Locales Forum - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 0 posts
  • Votes 0 votes
  • Topic users 1 member

1 participant

O
O
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet