Discussion:
Translite on Windows with non-Cyrillic default language
Alex Agranov
2004-06-05 10:27:50 UTC
Permalink
Is it possible to modify Translite/Untranslite feature so that it'll work on
Windows XP setup with non-Cyrillic default language? Currently it seems to be
taking characters from the "default language" code page instead of cyrillic
page...
Sergey Broudkov
2004-06-06 19:57:53 UTC
Permalink
Hello, Alex!
You wrote on Sat, 5 Jun 2004 10:27:50 +0000 (UTC):

AA> Is it possible to modify Translite/Untranslite feature so that it'll
AA> work on Windows XP setup with non-Cyrillic default language? Currently
AA> it seems to be taking characters from the "default language" code page
AA> instead of cyrillic page...

The problem is that dictionary files are ANSI plain text files. Operating
system uses default code page while converting from ANSI to Unicode. The
same you can observe with other plug-ins that use external text files, e.g.
City EMH. Though I have an idea... OK, I'll check if it's possible.
--
Regards,
Sergey Broudkov
sbpro-***@public.gmane.org
ICQ #4841919
Arioch /BDV/
2004-06-13 14:13:09 UTC
Permalink
The stars so gaily glistened... (Sun, 6 Jun 2004 23:57:53 +0400 @873)
...while the fading voice of Sergey whispered through the darkness:

SB> The problem is that dictionary files are ANSI plain text files.


Where's the problem ?
========= Beginning of the file Russian.dic ==============
//Select Russian language codepage, please!
Author: Народная!
Description: This key strings was not found in dictionary
Draft: 0
CodePage: 1251
LangID: 1049
=========The end of the citation================

Both codepage and langauge are told !!!
--
WinAMP://none: WinAMP is suffocated
Loading Image... Mail: the_Arioch<at>nm<dot>ru
Sergey Broudkov
2004-06-15 00:15:28 UTC
Permalink
Hello, Arioch!
You wrote to Sergey Broudkov on Sun, 13 Jun 2004 18:13:09 +0400:

SB>> The problem is that dictionary files are ANSI plain text files.

AB> Where's the problem ?
AB> ========= Beginning of the file Russian.dic ==============
AB> //Select Russian language codepage, please!
AB> Author: Народная!
AB> Description: This key strings was not found in dictionary
AB> Draft: 0
AB> CodePage: 1251
AB> LangID: 1049
AB> =========The end of the citation================

AB> Both codepage and langauge are told !!!

Yes, that's exactly the way I'm going to modify the Translite plug-in.
--
Regards,
Sergey Broudkov
sbpro-***@public.gmane.org
ICQ #4841919
-----------------------------------
А может, в реестре чего подправить? d;--D
Arioch /BDV/
2004-06-15 07:45:24 UTC
Permalink
The stars so gaily glistened... (Sun, 6 Jun 2004 23:57:53 +0400 @873)
...while the fading voice of Sergey whispered through the darkness:

SB> The problem is that dictionary files are ANSI plain text files.

I wonder what are the dictionaries.

Do You know the rules for langauges others than Russian ?

BTW, there was a program, Cifrica (Цифрица)
Many people thought it was the best of a kind.
Alas it is hard to find now, when codepages became less nightmare in RuNet,
so last version that i have was given without sources :-(
--
WinAMP://none: WinAMP is suffocated
http://Arioch.nm.ru/FL/Fidolook_SL.png Mail: the_Arioch<at>nm<dot>ru
Sergey Broudkov
2004-06-16 09:27:23 UTC
Permalink
Hello, Arioch!
You wrote to Sergey Broudkov on Tue, 15 Jun 2004 11:45:24 +0400:

SB>> The problem is that dictionary files are ANSI plain text files.

AB> I wonder what are the dictionaries.

Dictionaries are text files with possible comments, using metasymbols for
substitution, e.g.:

=========Beginning of the citation==============
//[] $ -- буква
//[] # -- согласная
//[] * -- гласная
//[] @ -- русская буква
//[] % -- цифра
//[] _ -- разделитель
//[] | -- Начало текста
//[] ^ -- Пустой символ
..........................

ч ch
ш sh
щ sch
..........................
#ю #yu
#я #ya
..........................

=========The end of the citation================

AB> Do You know the rules for langauges others than Russian ?

No, I don't know, because I don't know any other languages with non-Latin
alphabets. But recently here a person appeared who was going to make Chinese
translation (you may remember him).

AB> BTW, there was a program, Cifrica (Цифрица)
AB> Many people thought it was the best of a kind.
AB> Alas it is hard to find now, when codepages became less nightmare in
AB> RuNet, so last version that i have was given without sources :-(

You'll be wondered, but Cifirica is the very program that has been used as a
base for Translite plugin ;) Cifirica's author Roman Koshelev kindly gave me
his sources and allowed to use them in Fidolook. I just slightly optimized
the core algorithm and added Fidolook API support. Also that time I have
started a new verson of Cifirica. Unfortunately, soon he abandoned
Cifirica's site support and programming at all in favour of other activities
:(( His domain cifirica.ru no longer exists now. So, AFAIK now I'm the only
holder and heir of the sources with proper rights to use.
--
Regards,
Sergey Broudkov
sbpro-***@public.gmane.org
ICQ #4841919
-----------------------------------
А может, в реестре чего подправить? d;--D
Sergey Broudkov
2004-06-16 12:04:51 UTC
Permalink
Hello, Arioch!
You wrote to Sergey Broudkov on Tue, 15 Jun 2004 11:45:24 +0400:

AB> BTW, there was a program, Cifrica (Цифрица)
AB> Many people thought it was the best of a kind.
AB> Alas it is hard to find now, when codepages became less nightmare in
AB> RuNet, so last version that i have was given without sources :-(

Offtopic, in addition to my last message:

It's a real pity that the project is dead now. The both program and site
were very helpful for communication. Are there people enthusiastic enough to
resurrect it and start to support it again?
--
Regards,
Sergey Broudkov
sbpro-***@public.gmane.org
ICQ #4841919
-----------------------------------
А может, в реестре чего подправить? d;--D
Arioch /BDV/
2004-06-17 11:45:20 UTC
Permalink
The stars so gaily glistened... (Wed, 16 Jun 2004 16:04:51 +0400 @545)
...while the fading voice of Sergey whispered through the darkness:

SB> Are there people enthusiastic
SB> enough to resurrect it and start to support it again?

Guess we would only know if to put it, say, GPLed onto Sourceforge.net
--
WinAMP://picnic - 10
http://Arioch.nm.ru/FL/Fidolook_SL.png Mail: the_Arioch<at>nm<dot>ru
Loading...