Re: Slovak translation |
Thu, 17 July 2008 07:02 |
|
Try to change character set.
ISO-8852 and Windows-1250 were developed for Central European languages.
In general, if you had written your file in Notepad or Wordpad, you should use Windows-1250, otherwise you can use ISO-8852.
To find out more information on encoding, you can go to http://www.jakpsatweb.cz/cestina.html.
Good luck.
Jaro
|
|
Re: Slovak translation |
Fri, 30 January 2004 10:13 |
|
The charset is fetched from 'charset' file that can be found inside every translation.
|
|
Re: Slovak translation |
Fri, 30 January 2004 03:58 |
|
for now I've solved it by replacing:
{META-CONTENT-LANGUAGE}
with
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
in my header.tmpl file.
It's working now, but I think that it's kind of brute-force solution. and you have to do this in every theme you create.
I found out that during the theme compilation the {META-CONTENT-LANGUAGE} tag is replaced by html meta tag. where does char_set in charset='.$GLOBALS['char_set']. expression come from??? I need to set this char_set variable to UTF-8, but I can't find where is it comming from, it's not the locale, nor charset file in my tmpl/i18n/slovak directory. So where does it come from?
mexxx
|
|
Re: Slovak translation |
Thu, 29 January 2004 17:33 |
|
Not sure. You may want to ask the translator, all I did was added the file to the CVS.
|
|
Re: Slovak translation |
Thu, 29 January 2004 17:20 |
|
yes, of course I did. but it didn't help.
how was the turkish theme made? I need to do it the same way.
|
|
|
Re: Slovak translation |
Thu, 29 January 2004 12:21 |
|
ufff...
I feel like a lamer. I can't make it work, the php function is unrecognized in my version of php.
So I tried to do it other way, keep the file in UTF-8 format, and to set the theme to be displayed in this format. How to do it? I've changed the content of charset file into "UTF-8". But the browser doesn't display it in the utf-8 format(I have to switch it manualy to make it work). My locale variable in theme manager stayed "english" after setting the language as "Slovak". I tried to change it to "slovak", but it didn't help. What else shoud I do?
I found out that turkish translation is made in the UTF format too, how did you set the locale file in i18n folder to tr_TR.UTF-8, while in the theme manager it shows "english"? I tried to change my locale file to it to sk_SK.UTF-8, but it didn't help. If I create theme with turkish language, it works just fine, turkish characters are displayed correctly and the browser is set to UTF-8. How to set slovak language in i18n to do the same thing????
can anybody plz help me.
Thnx a lot.
|
|
Re: Slovak translation |
Fri, 09 January 2004 08:00 |
|
You can use PHP's iconv() extension to convert from UTF-8 to whatever charset you want. When you do so, be sure to only convert the translated text, not the entire file .
|
|
Slovak translation |
Fri, 09 January 2004 06:03 |
|
Hi,
I'm working on the slovak translation of the fudforum, I'm almost done (however I've tranlated version 2.5.2 and now I've noticed that there are few new lines in version 2.6.0, but that's ok) I'm having problems with the file format I'm using. I did the tranlation in ultraedit editor in unicode format, I tried to convert it to different txt formats but without success. I'm getting characters like ßÜך in the forum instead of something like čťýᝨľúäňô which are slovak characters.
I'm attaching the file I did unicode and some converted (files are not final version yet, they include my comments and symbols e.g. "!")
can anybody help me which format to convert it (which program to use (win32))
thnx
mexxx
-
Attachment: msg.zip
(Size: 63.91KB, Downloaded 1816 times)
|
|