added a language Ukrainian

thebat

No avatar

2007-06-19 21:03

Set CMS -> added a language Ukrainian -> Configuration general.php -> edit a page -> write name (sName) page -> saved ->CMS in a data file writes down and on a page does not show.

In file -> /db/ua_page.php -> 4$0$Новини$$1$1$2$1168 946298$
on page -> <td class="name"><a href="?p=pagesForm&amp;iPage=4" class="visible">->[does not show]<-</a></td>

<dl id="menu1"><dt class="l1" ><a href="?p=p_4&amp;sName=->[does not show]<-">->[does not show]<-</a></dt></dl>

Help to decide a problem

» Quick.Cms v1.x

thebat

No avatar

2007-06-19 21:09

See test http://cms.kala.if.ua/admin.php?p=pagesList
Login: admin
Pass: admin

in to the bottom of page "Pages list" ... ID = 4

merci

No avatar

2007-06-20 08:49

thebat - I have changed in admin ->configuration default language for ua and everything works good.

thebat

No avatar

2007-06-20 16:25

merci - It is set at me default language Ukrainian but nothing changed.

See -> http://cms.kala.if.ua/files/error/no_text.jpg
http://cms.kala.if.ua/files/error/no_text_admin.jpg
http://cms.kala.if.ua/files/error/yas_text_db.jpg

merci

No avatar

2007-06-21 09:33

thebat - for me it works good, see this:
http://img519.imageshack.us/img519/118/obrazek1ri3.jpg
http://img182.imageshack.us/img182/4203/obrazek2dc8.jpg
I don't know why for you it doesn't work...

thebat

No avatar

2007-06-21 10:26

"English text", it is works good. "Ukrainian" text it does not work. All, that is written with Latin, is worked well. All that is written with Ukrainian works not well. Write with a cyrillic text and you will see that does not work. Why?

wewior (OpenSolution)

Avatar: wewior

2007-06-21 12:41

i think it may be problem with character set, because when i add something with not cyrylic first char it works fine:
http://cms.kala.if.ua/
try to add setlocale in config/general.php file, but i don't know what should be set for your language, for polish it is like:
setlocale( LC_ALL, 'pl_PL' );
you can try search more on:
http://pl.php.net/manual/en/function.setlocale.php

thebat

No avatar

2007-06-21 14:20

Now all works well.
I thanks to everybody for the help.
... but see this ...?p=p_4&sName=e&#1054;&#1053;&#1040;e&#1058;&#1048; after "=" writes "e&#1054;&#1053;&#1040;e&#1058;&#1048;" not correct text cyrylic and Latin.
How to do, that correctly rewrote from cyrylic on Latin?

thebat

No avatar

2007-06-21 14:30

See this: http://cms.kala.if.ua/files/error/bad_text_url.jpg

Whether it is possible to do so that translated from cyrylic on Latin?

merci

No avatar

2007-06-22 09:12

thebat - it will be hard to do...as you will need to add field in form of page where you will write name for url, then you should add this field to database... quite complicated to do and to describe.

thebat

No avatar

2007-06-22 10:17

merci - You can write description of instructions (step by step) as this to do?

merci

No avatar

2007-06-22 11:59

thebat - sorry, but it is too complicated to write step-by-step instruction... you have to know php very well to do this, so if you don't, ask some programist to do this for you. For sure you have to edit file templates/admin/pages_form.tpl, core/pages-admin.php, core/pages-ff.php, core/pages.php... Hard to write exactly without doing this...

thebat

No avatar

2007-06-22 14:29

OK! I thanks to everybody for the help.

Back to top
about us | contact