Czech for Q.CMS 1.2

ruzovka

No avatar

2007-09-09 15:46

Hi,

I have translated Q.CMS 1.2 for my colleagues in to czech language. First I changed only text in file lang/en.php. It works good but some words were showed in bad way.

So I changed every files with "EN" in to "CZ" (cz_pages.php, cz_pages_ext.php...) but it did not help.

Do I have to change something in page.tpl?
like:

<?php<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cz">?>



www.ruzovka.eu

» Quick.Cms v1.x

David

ruzovka

No avatar

2007-09-09 15:49

addition: I changed every files with "EN" in to "CZ" (cz_pages.php, cz_pages_ext.php...)
and I changed language in admin in CZ.

David

merci

No avatar

2007-09-10 08:01

ruzovka - have you done everything as is wrote here: http://opensolution.org/Quick.Cms/docs/?id=tips#how_to_add_a_new_language
Have you changed also files from /config directory? You don't need to change anything in templates/page.tpl.

ruzovka

No avatar

2007-09-12 21:56

Thak you Merci,

I did it as you wrote above but some letters are showed in wrong way. See link to "BACK" (history) http://ruzovka.eu/admin.php it should be zpět. Letter "E" is wrong.

David

merci

No avatar

2007-09-13 08:49

ruzovka - I think that problem isn't with translation but with displaying some letters. Try to add setlocale in config/general.php file:
setlocale( LC_ALL, 'cs_CZ' );

ruzovka

No avatar

2007-09-13 23:07

Thank you

but I am not sure if I understand exactly how to do it. I added setlocale( LC_ALL, 'cs_CZ' ); to top and it is not work.


//error_reporting( E_ALL );
/*
* List of directories 
*/
setlocaleLC_ALL'cs_CZ' );
$config['dir_core'] =             'core/';
$config['dir_db'] =               'db/';
$config['dir_js'] =               'js/';
$config['dir_libraries'] =        'libraries/';
$config['dir_lang'] =             'lang/';
$config['dir_tpl'] =              'templates/';
$config['dir_files'] =            'files/';
$config['dir_ext'] =     

$config['dir_files'].'ext/';
$config['dir_plugins'] = 'plugins/';....................................................

David

merci

No avatar

2007-09-14 09:22

ruzovka - actually I'm not sure which coding is the best for Czech, maybe try
setlocale(LC_CTYPE, 'cz_CZ'); or search for some similar topic here or on Quick.Cart forum. I remember there were some similar topic.

Back to top
about us | contact