| View previous topic :: View next topic |
| Author |
Message |
alper60
Joined: 29 Oct 2007 Posts: 39
|
Posted: Fri Nov 09, 2007 4:24 pm Post subject: I translate it but some chars in dropmenu's not recognize |
|
|
I translate it Turkish..my language's iso is iso-8859-9..in calendar is everything is good.but for example; in quick events add box>at month name must be "Kasım" but it say "Kasym"..and for exam "ğ" or "ş" chars not views true on java dropmenu!s..but except this it's view true..only not true at java's
my parameter is ;
define("_CAL_EURO_DATE_", 1);
define("_CHARSET_", "iso-8859-9");
define("_LANG_NAME_", "Turkish (TR)"); |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5268
|
Posted: Fri Nov 09, 2007 6:49 pm Post subject: |
|
|
| Can you give me the URL with an example please? |
|
| Back to top |
|
 |
alper60
Joined: 29 Oct 2007 Posts: 39
|
Posted: Fri Nov 09, 2007 7:02 pm Post subject: |
|
|
ok..
http://www.xxx.com/takvim/
left side on nav bar..
Takvimler menu's
It must be Varsayılan Takvim
but it view Varsayylan Takvim
"ı" is not view true..
but the top of of page It' view true "Varsayılan Takvim"
my problem is only on java menu's.."ΓΌ","ş","ı" or "ğ" is not view true..
edit:link removed
Last edited by alper60 on Fri May 16, 2008 12:27 am; edited 1 time in total |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5268
|
Posted: Sun Nov 11, 2007 5:25 pm Post subject: |
|
|
Hi,
Are these entries that you had entered before or after you changed the charset in the language file? |
|
| Back to top |
|
 |
alper60
Joined: 29 Oct 2007 Posts: 39
|
Posted: Sun Nov 11, 2007 5:33 pm Post subject: |
|
|
Hi,
first there was nothing wrong...but after when I translate it happened..
mysql db was created latin_1_swedish..but it must be latin_5_turkish_ci..now I'm trying to changed it..At joomla there is nothing wrong..only at thyme's drop menus have problems.. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5268
|
Posted: Sun Nov 11, 2007 5:44 pm Post subject: |
|
|
If you add a category since you've translated it, do you see the same problem?
It sounds like it was entered in one charset (before translation) and doesn't display properly in another charset (after translation). Which is expected. |
|
| Back to top |
|
 |
alper60
Joined: 29 Oct 2007 Posts: 39
|
Posted: Tue Nov 27, 2007 10:43 pm Post subject: |
|
|
Hi Ian,
sorry for late
My database is now is fully "latin_turkish_ci" ..
I install Thyme again..and my problem is still going..
yes I see the same problem after add a category..
my english is not very well..so I put pictures here..
for example; in my db table's
on thyme_Calendars table..
look at first ;
here is my table
and I set this;
and then it look like this;
and here is the result ;
and after this result I changed the table's collation ;
and again enter the same name for my calendar here;
after this it's good,yeap ;
and the result ;
drop menu on nav bar is looking bad chars..
I don't know it's why..
I try something..for exam;
on class.html.php
I enter here;
| Code: |
[b]mysql_query("SET NAMES 'latin5'");[/b]
if(!@include_once(@constant("_CAL_BASE_PATH_") ."customize/css_defines.php"))
require_once(@constant("_CAL_BASE_PATH_") ."css/css_defines.php");
require_once(@constant("_CAL_BASE_PATH_") . "include/config.php");
require_once(@constant("_CAL_BASE_PATH_") . "include/classes/class.user.php");
require_once(@constant("_CAL_BASE_PATH_") . "include/classes/class.url.php");
require_once(@constant("_CAL_BASE_PATH_") . "include/classes/class.session.php");
require_once(@constant("_CAL_BASE_PATH_") . "include/classes/class.repeater.php");
require_once(@constant("_CAL_BASE_PATH_") . "include/languages/". constant("_CAL_LANG_") .".php");
if(!@constant("_CAL_AMP_")) {
define("_CAL_AMP_", "&"); |
mysql_query("SET NAMES 'latin5'");
I set this..because on forum that in my country..someone say this for general..but nothing changed.
and the other one is ;
thyme's page is running on quirk mode..
I checked with http://validator.w3.org
but it say ;
This page is not Valid HTML 4.01 Transitional!
is there somethin about that?
there is something on class.html.php lne 221-230 about this..
but I dont know how I enter the true DOCtype..It contains a non-valid DOCtype I think..cause with the dreamweaver when I open a page with html transtional 4.01
it say me;
and the other that I think there is a problem with my zend optimizer..
on
classmysql.php
class.mssql.php
date_utils.php
there are a lot of strange characters..ıs it must be?
sorry..may be I make a nonsense cause I don't know..
on the other hand..on my country..some php and joomla lovers say that
if there is a problem with latin_ci_5 on joomla..
they suggest this...
includes/joomla.php on line 87
there is code ;
| Code: |
| $database->debug( $mosConfig_debug ); |
replace this code wth this ;
| Code: |
$database->debug( $mosConfig_debug );
$database->setQuery("SET NAMES 'latin5'");
$database->query();
$database->setQuery("SET CHARACTER SET 'latin5'");
$database->query();
$database->setQuery("SET COLLATION_CONNECTION='latin5_turkish_ci'");
$database->query(); |
I set this for joomla..and It works good..may I set this for thyme ?in directory include/?
may it be the solution for this problem?but I dont know how and where I enter this code?
thanks for help..and sorry for my suggestion may be nonsense.. |
|
| Back to top |
|
 |
alper60
Joined: 29 Oct 2007 Posts: 39
|
Posted: Wed May 14, 2008 9:00 am Post subject: |
|
|
Ian I'm waiting still..I also sent you a mail with contact us.please let me know that it may able to a fixing problem or not?on these days we plan to take a VPS server.after then we try verything again to solve this problem  |
|
| Back to top |
|
 |
alper60
Joined: 29 Oct 2007 Posts: 39
|
Posted: Fri Aug 15, 2008 12:03 pm Post subject: |
|
|
hi,
still I have this problem :-\ I couldn't solve it yet.ı and ğ is bad chars  |
|
| Back to top |
|
 |
alper60
Joined: 29 Oct 2007 Posts: 39
|
Posted: Fri Aug 15, 2008 12:25 pm Post subject: |
|
|
I see this topic on another forum on my country.please see this:
http://forum.iyinet.com/php/90968-bazi-karakterler-degismiyor-s-i-g.html
it's the same problem with mine problem.
I have also "ş, ğ , and ı chars " problems.but I don't know how to apply this solution.they solved their problem.
added:
this is the answer on there:
| Code: |
$dbhost = "localhost";
$dbname = "ffffff";
$dbuser = "fffffffff";
$dbpass = "fffffffff";
mysql_connect ($dbhost, $dbuser, $dbpass) or die (mysql_error());
@mysql_select_db ($dbname) or die (mysql_error());
mysql_query("SET NAMES 'latin5'");
mysql_query("set SESSION character_set_client = latin5");
mysql_query("set SESSION character_set_connection =latin5_turkish_ci");
mysql_query("set SESSION character_set_results = latin5"); |
|
|
| Back to top |
|
 |
alper60
Joined: 29 Oct 2007 Posts: 39
|
Posted: Wed Aug 20, 2008 10:44 am Post subject: |
|
|
the problem fixed a different way..
my database collation is latin5_turkish_ci..cause Joomla! 1.0.x does not fully support utf-8..
so what I make?
I go database.find where is the bad chars table..for example;
I go thyme_Calendars and I changed it's collation for title and description latin5 to utf-8
I make same thing for thyme_Events..and I changed org_name,title,notes field's collation to utf-8..now It seems ok..when user enter an event note there is no bad chars..but I couldn't find the nav modules collation table..still when I changed a calendars name, on nav modules It prints ı,ğ and ş bad..
I hope there will be any error when I back-up my database.. |
|
| Back to top |
|
 |
|