Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Russian language problem


Guest

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?

Link to comment
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
Link to comment
Share on other sites

  • 2 weeks later...

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 у меня таких проблем не возникло, правда я только тестирую сайт, может что то не заметил, кроме того, так как кроме меня никто в скрипте ковырятся не будет, я не переименовывал папки, что бы не искать пути, а всего лишь сменил тексты внутри папки инклюдес/лагвич..... может это и не верно технически, но пока сменил с немецкого на руский, потом буду с испанского на иврит... и проблем ещё не заметил

Link to comment
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
Link to comment
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 )

Link to comment
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
Link to comment
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!

Link to comment
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

Link to comment
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)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...