Jump to content
Sign in to follow this  
imop

Russian language problem

Recommended Posts

I have installed oSCommerce v2.2RC2

 

 

*** Translation - "Домашний кинотеатр - Home Cinema"

 

So the problem is that:

 

On setting up categories for shop catalog i got the problem with symbols of Russian language for word length

and at the end after saving the category name i have the problem:

 

Inputing the category name is: "Домашний кинотеатр"

 

After saving i got this: "Домашний кинотеа�" with the question symbol at he end. I can only input 16 symbols of cyrillic symbols for Russian lang.

 

 

1) The admin panel interface i have in english.

2) I have changed the admin language CHARSET to UTF-8 as the ISO encoding was problematic.

 

 

Any help or advance on this?


1) Backup before you make changes on osC.

2) Backup between addon installs on osC.

 

p.s. Usually you can meet me in osC chat for free help and advice ;)

Share this post


Link to post
Share on other sites

Ok i have searched a bit more the internet and get some results...

 

In DB i have changed "maximum value" of table - "categories_description" from 32 to 255, but it seems that charters who are saved in DB are not saved correctly,

but it save like this:

 

"Учебные ресурсы" save as "Учебные реÑурÑÑ" it`s damn stupid i don`t know what to do!

 

It makes the word from 15 symbols to 28 symbols... how to fix this?

 

 

But the most interesting thing the symbols in frontend are displayed correctly! If i will migrate from one hosting company to other can i have any trouble with my DB text`s?

Edited by imop

1) Backup before you make changes on osC.

2) Backup between addon installs on osC.

 

p.s. Usually you can meet me in osC chat for free help and advice ;)

Share this post


Link to post
Share on other sites

Ok i have searched a bit more the internet and get some results...

 

In DB i have changed "maximum value" of table - "categories_description" from 32 to 255, but it seems that charters who are saved in DB are not saved correctly,

but it save like this:

 

"Учебные ресурсы" save as "Учебные реÑурÑÑ" it`s damn stupid i don`t know what to do!

 

It makes the word from 15 symbols to 28 symbols... how to fix this?

 

 

But the most interesting thing the symbols in frontend are displayed correctly! If i will migrate from one hosting company to other can i have any trouble with my DB text`s?

Я не очень понял проблему, но установив кодировку Windows-1251 у меня таких проблем не возникло, правда я только тестирую сайт, может что то не заметил, кроме того, так как кроме меня никто в скрипте ковырятся не будет, я не переименовывал папки, что бы не искать пути, а всего лишь сменил тексты внутри папки инклюдес/лагвич..... может это и не верно технически, но пока сменил с немецкого на руский, потом буду с испанского на иврит... и проблем ещё не заметил

Share this post


Link to post
Share on other sites

Я не очень понял проблему, но установив кодировку Windows-1251 у меня таких проблем не возникло, правда я только тестирую сайт, может что то не заметил, кроме того, так как кроме меня никто в скрипте ковырятся не будет, я не переименовывал папки, что бы не искать пути, а всего лишь сменил тексты внутри папки инклюдес/лагвич..... может это и не верно технически, но пока сменил с немецкого на руский, потом буду с испанского на иврит... и проблем ещё не заметил

 

 

Privet!

 

Znajesh ja menjal eti uztanofki no problema v tom kak ja tekst vvozhu cerez admon a u menja tam UTF-8 eto potomu cto u menja 3 jazika Latiskij (Latvian)(problematičnije simvoli - ēūīāšģķļžčņ) Russikij (Russian) (sovsem sivoji simvoli) u Angliskij (English) (bez problem)

 

S angliskim net problem no vot s Latvian u Russian tam vot eto i poevljaetsa! hmm budu smotretj taljshe

Edited by imop

1) Backup before you make changes on osC.

2) Backup between addon installs on osC.

 

p.s. Usually you can meet me in osC chat for free help and advice ;)

Share this post


Link to post
Share on other sites

Privet!

 

Znajesh ja menjal eti uztanofki no problema v tom kak ja tekst vvozhu cerez admon a u menja tam UTF-8 eto potomu cto u menja 3 jazika Latiskij (Latvian)(problematičnije simvoli - ēūīāšģķļžčņ) Russikij (Russian) (sovsem sivoji simvoli) u Angliskij (English) (bez problem)

 

S angliskim net problem no vot s Latvian u Russian tam vot eto i poevljaetsa! hmm budu smotretj taljshe

 

This should be the solution to my post on DB: LINK ( <- click )


1) Backup before you make changes on osC.

2) Backup between addon installs on osC.

 

p.s. Usually you can meet me in osC chat for free help and advice ;)

Share this post


Link to post
Share on other sites

The easiest way is to ALWAYS change the language to YOUR language when you enter the admin !

 

For some reason adding a category in Greek characters when having the admin in English gives the strange characters in the front - end

 

 

But if I change the language in the admin to Greek and add a category in both Greek and English all characters look fine

 

1) The admin panel interface i have in english.

 

I mean dont have it in English change it to YOUR language the minute you enter the admin

Edited by diy

Share this post


Link to post
Share on other sites

The easiest way is to ALWAYS change the language to YOUR language when you enter the admin !

 

For some reason adding a category in Greek characters when having the admin in English gives the strange characters in the front - end

 

 

But if I change the language in the admin to Greek and add a category in both Greek and English all characters look fine

 

 

 

I mean dont have it in English change it to YOUR language the minute you enter the admin

 

 

Thank you!

 

I have already tried it, but not quite handy always to change language, also if i add product to my shop i need fill out all the languages at the same time EN LV RU in that case the language switch is not an option!


1) Backup before you make changes on osC.

2) Backup between addon installs on osC.

 

p.s. Usually you can meet me in osC chat for free help and advice ;)

Share this post


Link to post
Share on other sites

Thank you!

 

I have already tried it, but not quite handy always to change language, also if i add product to my shop i need fill out all the languages at the same time EN LV RU in that case the language switch is not an option!

 

 

Have you added the Russian language pack in the admin (and the catalog)??

 

have you added Russian as a second language throught the admin??

 

if you have you should see two boxes and 2 flags when you add a product

 

10318005-f25.GIF

 

 

You don't have to exit and reenter admin you just add the desc in the box for each language

Share this post


Link to post
Share on other sites

Have you added the Russian language pack in the admin (and the catalog)??

 

have you added Russian as a second language throught the admin??

 

if you have you should see two boxes and 2 flags when you add a product

 

10318005-f25.GIF

 

 

You don't have to exit and reenter admin you just add the desc in the box for each language

 

 

No really u don`t understand why i have chosen my solution:

 

Example text in three languages i have (random words):

 

Latvian - kaķītis, kažociņš, ābols

Russian - киска, пальто, яблоко

English - moggy, coat, apple

 

Can u see the difference between Latvian and Russian, thous two languages are not done with in on encoding like (LV) windows-1257, (RU) windows-1251

 

if i only used English and Latvian or English and Russian then i can use what u suggest me, as i have 2 complicity different languages one with CYRILLIC nad other in LATIN with special characters!

 

p.s. and my DB entries are much more like understandable

 

Example from DB of category_name

Before:

 

(1, 1, 'Teaching Resources'),

(1, 2, 'MÄcÄ«bu resursi'),

(1, 3, 'Учебные реÑурÑÑ‹'),

 

After my solution:

(1, 1, 'Teaching Resources'),

(1, 2, 'Mācību resursi'),

(1, 3, 'Преподавание ресурсы'),

 

I hope it makes sense now to you why i have do this way LINK (<- click link)


1) Backup before you make changes on osC.

2) Backup between addon installs on osC.

 

p.s. Usually you can meet me in osC chat for free help and advice ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×