Hi there!
I am a very busy guy, but I love Gallery so much that I would love to try helping with Russian translation. Let me know!
Здрав
Tim_j
Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2003-09-03 17:30
Hi VP,
no Problem !
1.) Read the docs
2.) Write a mail to Yuri
3.) grap the latest existing translation for 1.4 (and if you want 1.4.1)
4.) Add missing, correct fuzzy translations in the language files
5.) Send the files to me
Jens
karpych
Joined: 2003-09-30
Posts: 1
Posted: Tue, 2003-09-30 04:03
is anyone have working cp1251 trans on linux?
i setup new gallery, set translation to cp1251(win), but when i load page,, page contain koi8r translate, i try to overwrite koi8r translation file with cp1251, but still same thing.
any ideas?
Tim_j
Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2003-09-30 18:20
Hi,
can you give me an URL to your Gallery ?
And which Browser do you use ?
Jens
FiNaL
Joined: 2003-08-21
Posts: 5
Posted: Sat, 2003-11-22 14:31
karpych wrote:
is anyone have working cp1251 trans on linux?
i setup new gallery, set translation to cp1251(win), but when i load page,, page contain koi8r translate, i try to overwrite koi8r translation file with cp1251, but still same thing.
any ideas?
The problem is in poEDIT compiler !
It DOES NOT support properly cp-1251 (windows-1251) charset !!!!!
It compiles po's in ISO-8859-5 even if it is set to cp1251 (and they are NOT the same) !!!!
But iso-8859-5 is not a russian charset !!! (I don't even know for whom this charset has been done, no one uses it).
But with KOI8-R no problems in compilation and showing it ... but with WindowsOS we use CP1251 ... (How we `love` Microsoft...)
So, it is impossible to make russian translation in cp1251
Tim_j
Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2003-11-24 16:48
Hi,
i dont agree, because i am not compiling the files with poEdit.
But i asked some colleagues here and they say you are right.
So i guess the plain text lanuage files itself are using the wrong charset/encoding.
I am not able to read or write in russian.
Do you have an Editor that can write cp1251 ?
Jens
FiNaL
Joined: 2003-08-21
Posts: 5
Posted: Tue, 2003-11-25 15:21
Tim_j wrote:
Hi,
I am not able to read or write in russian.
Do you have an Editor that can write cp1251 ?
Jens
Hi,
Yes, I have
I'am russian with windows ;-)
...the sources of russian translation that are in the download section are in cp1251. So the problem is only in the compilation (making this mo's from po's) ...
If you need something, just ask, couse I don't know what to do (test) next, but I need this translation very very very
P.S. are there any other compilers ? (not poEdit) Maybe they will work ...
P.P.S. Sorry for such a stupid question, but who thought up to use this strange po-mo (I don't know how to call it) language system ? Isn't it easier just to keep translations, for example, like postnuke keeps ? (Easy to edit, more flexible, doesn't use 3-d side projects and works anywhere) ...
Tim_j
Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2003-11-25 17:04
Hi,
okay. Didnt know that.
For me it seemed the .po files where different for koi8r and cp1251.
I will poke around this.
P.S.: I use direct gettext.
P.S.S: Me.
Its called GNU gettext. See Details at http://www.gnu.org/software/gettext/
Well, I think its nots easier.
- It may seems to be easier to edit. But is it ?
- Its far from more flexible i think. You cant just use a function to do the translation, and you have to write extra tools which searches through your code and extract the phrases. And you have to write tools to sync in changes. and other things.
- well, thats correct if you want to make your own translations, but i am always helpful if someone send me .po files
- And a very great benefit which will be in 1.4.2 is, that gettext can handle plurals very fine. And especially you as russian will love it
Just for info: i wont continue a disussion wether gettext is good or not.
Jens
FiNaL
Joined: 2003-08-21
Posts: 5
Posted: Fri, 2003-11-28 22:40
Thanks for such a detailed answer
I'll try to install this gettext and try to find out how it works ...
Just the last question, for example i have this old po's with old translation and what if a new variable(s) appears ? How can it be updated ?
Thanks.
mfg ;-)
FiNaL
Joined: 2003-08-21
Posts: 5
Posted: Fri, 2003-11-28 22:57
lol :D
I just installed gettext on my linux server and the translation begun to work !!! ))
Please, write it somewhere in the README file that it is impotant to have gettext ...
The only remaining question is about how to update the translation variables in this po's.
And if I make the translation up to the end can I attach it in this topic for others ?
Thanks a lot !
Tim_j
Joined: 2002-08-15
Posts: 6818
Posted: Sat, 2003-11-29 16:48
Hi,
gettext is NOT NEEDED !
But if you have it, the translations are faster.
We made a substitute function.
Jens
Tim_j
Joined: 2002-08-15
Posts: 6818
Posted: Sat, 2003-11-29 16:51
Addition:
If you want to make update please read the HowTo in Dev Docs on this page.
Jens
FiNaL
Joined: 2003-08-21
Posts: 5
Posted: Sun, 2003-11-30 11:38
hm, but it didn't work before I installed gettext ... so the function doesn't work properly :-/
miggy
Joined: 2004-03-20
Posts: 5
Posted: Sun, 2004-03-21 11:14
i have problem with russian languagepack. The problem is if i install the Russian (windows) or (koi8r) languagepack with PostNuke then it gives me russian leatters but not russian words.. The coding of Russian (windows, koi8r) languagepack aint same as Postnuke coding... Where can i get good coding for PostNuke or how can i change words in Russian Language Pack?
Thaks already :wink:
Tim_j
Joined: 2002-08-15
Posts: 6818
Posted: Sat, 2004-03-27 14:35
Hi,
my name is Jens and i am responsible for language related things in Gallery 1.
Where did you get the russion translation for postNuke ?
For changing words in Gallerys translation files, have a look at the translation howto in the dev docs section on this site.
If you need help, feel free to ask. Here, via Mail, ICQ or IRC.
Regards,
Jens
dip00dip
Joined: 2004-05-18
Posts: 3
Posted: Tue, 2004-05-18 07:35
This is the solution for problem with freak russian ISO8859-5 charset :
Make changes in ru_RU-nls.php files - uncomment cp1251 and comment out ISO8859-5 :
I'm using FreeBSD 4.9-RELEASE-p5
But this IMHO not the point !
try to fix ru_RU-nls.php file as i advised before + locale_alias in config.php.
Tim_j
Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2004-05-19 10:25
Hello,
this _is_ the point. Because the chars displayed depend on the installed system locales.
You can be sure that i tried your advise !
I will investigate in this issue.
Jens
TimTaller
Joined: 2004-05-27
Posts: 6
Posted: Thu, 2004-05-27 17:56
Hello, everybody!
A curious situation:
1. I've installed gallery-1.4.3-pl1 without any changes in locales except copying the ru_RU to the right place.
2. Russian language worked fine. I mean russian templates and russian text in gallery data (album titles, descrs and so on)
3. Today my ISP updated some stuff in PHP. He sweared me that he didn't touch any system locale stuff, but
4. Now my album data is given to the visitor in 2 codepages: cp1251 and ISO (RUS). So one can see only part of readeble info. Other part is in the wrong encoding.
5. I've modifyed ru_RU-nls.php file and config.php (Oh, there is one thing - $gallery->app->locale_alias exists only in daily build and is absent in release)
6. Nothing have changed. There are still 2 encodings.
7. Even after daily build update my gallery still doesn't work.
Please give me some ideas in solving my problem (except using only one - english language). Thanx everybody in advance.
P.S.: My system runs:
1. RH linux
2. Apache 1.3.31 (Unix)
3. PHP 4.3.5
P.P.S: The fateful update dealt (according to the admins words) with disabling the use of php_flag and php_value in .htaccess. Though I know that it can't relate to this crash, but still......
TimTaller
Joined: 2004-05-27
Posts: 6
Posted: Thu, 2004-05-27 18:47
Some adds:
1. Gallery URL (optional but very useful): http://photos.upposition.ru
2. Gallery version: 1.4.4-cvs-b150
3. Apache version: 1.3.31 (Unix)
4. PHP version (don't just say PHP 4, please): 4.3.5
5. Graphics Toolkit: NetPBM
6. Operating system: Linux RH
7. Web browser/version (if applicable): Iex 6.1
Tim_j
Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2004-05-27 19:05
Hello Tim,
as i said, i am not happy with the current ru_RU package.
Could you write an email to the translator ?
Its in the .po files of ru_RU pack.
Jens
TimTaller
Joined: 2004-05-27
Posts: 6
Posted: Thu, 2004-05-27 19:21
Hmmm.... Seems to me that I've found the solution of this problem:
1. I use attached below locale (cp1251)
2. In the config.php there are the following lines:
==========8<==========
...
$gallery->app->default_language = "ru_RU";
$gallery->app->available_lang[] = "en_US";
$gallery->app->available_lang[] = "ru_RU";
....
$gallery->app->locale_alias['ru_RU'] = "ru_RU.cp1251";
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
==========8<==========
Everything works fine
One bad thing about it is the translation quality. I'll try to fix it if the original author wont be against.
Tim_j
Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2004-05-28 10:11
Do you have a SYSTEM locale called ru_RU.cp1251 ?
Jens
TimTaller
Joined: 2004-05-27
Posts: 6
Posted: Fri, 2004-05-28 16:06
Tim_j wrote:
Do you have a SYSTEM locale called ru_RU.cp1251 ?
Jens
Yes
Tim_j
Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2004-05-28 16:12
AAAAAH,
this explains much !
Because i have not !
So maybe the simple solution is to rename the ru_RU package to ru_RU.cp1251 ??
Jens
TimTaller
Joined: 2004-05-27
Posts: 6
Posted: Fri, 2004-05-28 16:39
Curious thing - now I've uploaded the standard (included in release and night build) ru_RU language pack and ONLY changed in config.php from $gallery->app->locale_alias['ru_RU'] = "ru_RU";
to $gallery->app->locale_alias['ru_RU'] = "ru_RU.cp1251";
and everything began to work fine, except some problems like alt property of the img tag which is written in special symbols with &.
Another question: is the russian (and perhaps any other) translation is the COMPLETE - i mean that can an interpriter translate each word? Because when I select the "add comment" link I see russian words in the upper part of the window (I could find them in the ru_RU-gallery_core.po file) and english words in the form: "add your comment", "Commenter" and "Message" (I couldn't find them in the ru_RU-gallery_core.po file - the equivalent strings for translation)?
TimTaller
Joined: 2004-05-27
Posts: 6
Posted: Fri, 2004-05-28 16:50
Maybe evening is a bad time for experiments....
I can't understand - in the .po and .mo files there is a clear translation:
but in the top page of my gallery (http://photos.upposition.ru/) I see that a part of the text is in russian and another one like i wrote before - in english.
Tim_j
Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2004-05-28 18:06
Hello,
if you PHP has gettext, you need to recompile the .mo files.
Jens
baraban
Joined: 2006-01-16
Posts: 11
Posted: Mon, 2006-01-16 06:49
Gallery 2 is a great software - the best photo-store-ware I have seen.
But has anyone been able to localize it to Russian properly?
There seem to be no Russian .mo files and no catalog .pot. Supplied makefile could not create .mo either. So I manually compiled one from the core .po in the development distribution to see what would happen.
Now, when I switch languages to Russian, I get "Internet Explorer cannot open the Internet site" dialog box followed by the "Tha Page cannot be displayed" Explorer message. All is good when I switch back to English.
I have seen similar behaviour from another ap, when I did not have iconv loaded, but now I do, so UTF-8 conversion should work fine. Why doesn't it? What's up with this?
Please, please please help!
Laroy
Joined: 2006-01-16
Posts: 3
Posted: Mon, 2006-01-16 16:15
I've just installed G2.0.2. It's cool, but the translation is killing me - it's awful! I'd like to help you make a good one. Could you tell me how I can do it? Do not hesitate to contact me via e-mail.
baraban
Joined: 2006-01-16
Posts: 11
Posted: Mon, 2006-01-16 19:59
Laroy, what did you have to do to make the Russian translation actually work?
BTW, there is a newer version of it available on the CVS.
Laroy
Joined: 2006-01-16
Posts: 3
Posted: Thu, 2006-01-19 01:14
I've just selected russian language default after the installation.
I'd like to make a human translation. Those russian words are not the right ones in most cases. So it is possible to guess the meaning but it's very unpleasant.
What is "CVS"?
I've just installed G2.0.2. It's cool, but the translation is killing me - it's awful!
It's not awful, it was made mechanically made by computer program (Promt of smth).
Human translation is available for 2.0.2 and 2.1 now. Here are instruction:
If you're 2.1 cvs user:
that mean that you already have more or less good translation,
but to have 100% russian transation (last update 22 Jan 2006)
download here: http://www.gallery2.ru/files/ru_RU-v2.1-full.zip
and rewrite all old files with new files from this file.
If you're 2.1 cvs user:
that mean that you already have more or less good translation,
but to have 100% russian transation (last update 22 Jan 2006)
download here: http://www.gallery2.ru/files/ru_RU-v2.1-full.zip
and rewrite all old files with new files from this file.
But I could not find any files to translate for super-new modules like Reupload, LinkItems and such other. So, they're still in english. Nothing to tranlsate. There even no PO directory inside.
wolfluck
Joined: 2006-02-14
Posts: 7
Posted: Mon, 2006-03-27 06:33
I can't make the brouser change automatically from windows to utf8(unicode)
Please Help!
Ad Man drick9 I have puted to httpd.conf
CharsetDecl utf-8 ru
CharsetWideRecodeTable koi8-r utf-8 /usr/local/apache/conf/tables/russian/koi-utf8.tab
CharsetAlias utf-8 utf unicode
but nothing all work at windowsXP but at linux coding is always set to windows even if i get unicode by hand it is set to windows next click.
may be it is because of /usr/local/apache/conf/tables/russian/koi-utf8.tab ??
Please help.
wolfluck
Joined: 2006-02-14
Posts: 7
Posted: Tue, 2006-03-28 01:37
I'v installed :
Gallery version = 2.1-rc-2a core 1.0.34
PHP version = 4.3.11 apache
Webserver = Apache/1.3.17 (Unix) PHP/4.3.11 rus/PL30.3
Database = mysql 4.0.16, lock.system=flock
Toolkits = Exif, Getid3, Thumbnail, Gd
Акселерация = none, none
Operating system = Linux www.vntc.ru 2.4.19-16mdkenterprise #1 SMP Fri Sep 20 17:34:59 CEST 2002 i686
Тема по умолчанию = matrix
Locale = ru_RU
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
But it still gives all in CHARSET windows-1251
And no language to select work! I tried to install in english but the gallary installed only in russian windows-1251 won't answere in UTF8. http://www.vntc.ru/foto1
wolfluck
Joined: 2006-02-14
Posts: 7
Posted: Thu, 2006-03-30 04:00
I got it don't know how I made many times but after one of this times I just crushed my gallary and tried to install again ... I'm not shue its because of just install again as I changed php.ini to default charset= ""; added utf8 to httpd added undo in httpd for gallary folder and deleted some .mo .po and in gallary data and
but i'm glad thank you all information I got was from this forum.
Having established руссификатор to gallery v1.5. At me became at all руская the version, and coded words.
[гФРЫШвм РЫмСЮЬ] [ЯХаХЬХбвШвм РЫмСЮЬ] [ЯХаХгЯЮапФЮзШвм РЫмСЮЬ] [ЯХаХШЬХЭЮТРвм РЫмСЮЬ] [аХФРЪвШаЮТРвм ЧРУЮЫЮТЪШ]
zanoza
Joined: 2006-06-20
Posts: 2
Posted: Tue, 2006-06-20 10:00
Having established руссификатор to gallery v1.5. At me became at all руская the version, and coded words.
[гФРЫШвм РЫмСЮЬ] [ЯХаХЬХбвШвм РЫмСЮЬ] [ЯХаХгЯЮапФЮзШвм РЫмСЮЬ] [ЯХаХШЬХЭЮТРвм РЫмСЮЬ] [аХФРЪвШаЮТРвм ЧРУЮЫЮТЪШ]
Makc666
Joined: 2003-12-26
Posts: 78
Posted: Wed, 2006-06-21 04:53
zanoza, написал ты конечно классно, но лучше бы на форуме каком-нибудь русскоязычном тогда помощи попросил.
чтобы твоей ошибки не было, если это твой сайт и ты хочешь видеть его только на русском,
то в мастере конфигурации сайта на вкладке "Языки и локальные установки" в первой строке выбери Встроеный язык "Русский (Windows)" или Koi-8, если у тебя он. Но я бы рекомендовал Windows.
P.S. This is Russian reply to zanoza as he doesn't understand english.
www dimo spb ru
Joined: 2005-11-10
Posts: 25
Posted: Tue, 2009-11-10 15:58
Пофиксеный и дополненный русский ланг пак для галереи 1.5.4.
Скачать можно здесь http://www.dimo.spb.ru/
--------------------------------------------
Дмитрий Якимов.
Свадебная фотография в Петербурге http://www.dimo.spb.ru
www dimo spb ru
Joined: 2005-11-10
Posts: 25
Posted: Sun, 2006-10-22 10:18
Besides russian language in all other places, please help with the Albums alt=""!
On the first album page (gallery index) everything's ok, deeper it goes - all albums highlight images alts and titles are just trash - russian but converted to special symbols, i.e.:
gallery i set up 1.6b26 but it doesn't matter - the same existed since maybe ...1.5.3, for quite a long time.
Anyone has idea how to switch/disable that damn character converting?
Posts: 20
Hi there!
I am a very busy guy, but I love Gallery so much that I would love to try helping with Russian translation. Let me know!
Здрав
Posts: 6818
Hi VP,
no Problem !
1.) Read the docs
2.) Write a mail to Yuri
3.) grap the latest existing translation for 1.4 (and if you want 1.4.1)
4.) Add missing, correct fuzzy translations in the language files
5.) Send the files to me
Jens
Posts: 1
is anyone have working cp1251 trans on linux?
i setup new gallery, set translation to cp1251(win), but when i load page,, page contain koi8r translate, i try to overwrite koi8r translation file with cp1251, but still same thing.
any ideas?
Posts: 6818
Hi,
can you give me an URL to your Gallery ?
And which Browser do you use ?
Jens
Posts: 5
The problem is in poEDIT compiler !
It DOES NOT support properly cp-1251 (windows-1251) charset !!!!!
It compiles po's in ISO-8859-5 even if it is set to cp1251 (and they are NOT the same) !!!!
But iso-8859-5 is not a russian charset !!! (I don't even know for whom this charset has been done, no one uses it).
But with KOI8-R no problems in compilation and showing it ... but with WindowsOS we use CP1251 ... (How we `love` Microsoft...)
So, it is impossible to make russian translation in cp1251
Posts: 6818
Hi,
i dont agree, because i am not compiling the files with poEdit.
But i asked some colleagues here and they say you are right.
So i guess the plain text lanuage files itself are using the wrong charset/encoding.
I am not able to read or write in russian.
Do you have an Editor that can write cp1251 ?
Jens
Posts: 5
Hi,
Yes, I have
I'am russian with windows ;-)
...the sources of russian translation that are in the download section are in cp1251. So the problem is only in the compilation (making this mo's from po's) ...
If you need something, just ask, couse I don't know what to do (test) next, but I need this translation very very very
P.S. are there any other compilers ? (not poEdit) Maybe they will work ...
P.P.S. Sorry for such a stupid question, but who thought up to use this strange po-mo (I don't know how to call it) language system ? Isn't it easier just to keep translations, for example, like postnuke keeps ? (Easy to edit, more flexible, doesn't use 3-d side projects and works anywhere) ...
Posts: 6818
Hi,
okay. Didnt know that.
For me it seemed the .po files where different for koi8r and cp1251.
I will poke around this.
P.S.: I use direct gettext.
P.S.S: Me.
Its called GNU gettext. See Details at http://www.gnu.org/software/gettext/
Well, I think its nots easier.
- It may seems to be easier to edit. But is it ?
- Its far from more flexible i think. You cant just use a function to do the translation, and you have to write extra tools which searches through your code and extract the phrases. And you have to write tools to sync in changes. and other things.
- well, thats correct if you want to make your own translations, but i am always helpful if someone send me .po files
- And a very great benefit which will be in 1.4.2 is, that gettext can handle plurals very fine. And especially you as russian will love it
Just for info: i wont continue a disussion wether gettext is good or not.
Jens
Posts: 5
Thanks for such a detailed answer
I'll try to install this gettext and try to find out how it works ...
Just the last question, for example i have this old po's with old translation and what if a new variable(s) appears ? How can it be updated ?
Thanks.
mfg ;-)
Posts: 5
lol :D
I just installed gettext on my linux server and the translation begun to work !!! ))
Please, write it somewhere in the README file that it is impotant to have gettext ...
The only remaining question is about how to update the translation variables in this po's.
And if I make the translation up to the end can I attach it in this topic for others ?
Thanks a lot !
Posts: 6818
Hi,
gettext is NOT NEEDED !
But if you have it, the translations are faster.
We made a substitute function.
Jens
Posts: 6818
Addition:
If you want to make update please read the HowTo in Dev Docs on this page.
Jens
Posts: 5
hm, but it didn't work before I installed gettext ... so the function doesn't work properly :-/
Posts: 5
i have problem with russian languagepack. The problem is if i install the Russian (windows) or (koi8r) languagepack with PostNuke then it gives me russian leatters but not russian words.. The coding of Russian (windows, koi8r) languagepack aint same as Postnuke coding... Where can i get good coding for PostNuke or how can i change words in Russian Language Pack?
Thaks already :wink:
Posts: 6818
Hi,
my name is Jens and i am responsible for language related things in Gallery 1.
Where did you get the russion translation for postNuke ?
For changing words in Gallerys translation files, have a look at the translation howto in the dev docs section on this site.
If you need help, feel free to ask. Here, via Mail, ICQ or IRC.
Regards,
Jens
Posts: 3
This is the solution for problem with freak russian ISO8859-5 charset :
Make changes in ru_RU-nls.php files - uncomment cp1251 and comment out ISO8859-5 :
I think this should be included in the next releases of ru_RU translation !
P.S. and make changes in config.php , couse configuration wizard puts wrong charests for russian language in $gallery->app->locale_alias['ru_RU']
Posts: 6818
Hello,
i am currently unhappy with the russian (ru_RU) translation.
Is this page displayed correct ?
Gallery in ru_RU with cp1251
Jens
Posts: 3
Nop . It's not correct.
I can help you with ru_RU translation.
look at http://fotki.zp.ua - it has correct ru_RU charset
Posts: 6818
what OS (exactly !) are you using ?
Jens
Posts: 3
I'm using FreeBSD 4.9-RELEASE-p5
But this IMHO not the point !
try to fix ru_RU-nls.php file as i advised before + locale_alias in config.php.
Posts: 6818
Hello,
this _is_ the point. Because the chars displayed depend on the installed system locales.
You can be sure that i tried your advise !
I will investigate in this issue.
Jens
Posts: 6
Hello, everybody!
A curious situation:
1. I've installed gallery-1.4.3-pl1 without any changes in locales except copying the ru_RU to the right place.
2. Russian language worked fine. I mean russian templates and russian text in gallery data (album titles, descrs and so on)
3. Today my ISP updated some stuff in PHP. He sweared me that he didn't touch any system locale stuff, but
4. Now my album data is given to the visitor in 2 codepages: cp1251 and ISO (RUS). So one can see only part of readeble info. Other part is in the wrong encoding.
5. I've modifyed ru_RU-nls.php file and config.php (Oh, there is one thing - $gallery->app->locale_alias exists only in daily build and is absent in release)
6. Nothing have changed. There are still 2 encodings.
7. Even after daily build update my gallery still doesn't work.
Please give me some ideas in solving my problem (except using only one - english language). Thanx everybody in advance.
P.S.: My system runs:
1. RH linux
2. Apache 1.3.31 (Unix)
3. PHP 4.3.5
P.P.S: The fateful update dealt (according to the admins words) with disabling the use of php_flag and php_value in .htaccess. Though I know that it can't relate to this crash, but still......
Posts: 6
Some adds:
1. Gallery URL (optional but very useful): http://photos.upposition.ru
2. Gallery version: 1.4.4-cvs-b150
3. Apache version: 1.3.31 (Unix)
4. PHP version (don't just say PHP 4, please): 4.3.5
5. Graphics Toolkit: NetPBM
6. Operating system: Linux RH
7. Web browser/version (if applicable): Iex 6.1
Posts: 6818
Hello Tim,
as i said, i am not happy with the current ru_RU package.
Could you write an email to the translator ?
Its in the .po files of ru_RU pack.
Jens
Posts: 6
Hmmm.... Seems to me that I've found the solution of this problem:
1. I use attached below locale (cp1251)
2. In the config.php there are the following lines:
==========8<==========
...
$gallery->app->default_language = "ru_RU";
$gallery->app->available_lang[] = "en_US";
$gallery->app->available_lang[] = "ru_RU";
....
$gallery->app->locale_alias['ru_RU'] = "ru_RU.cp1251";
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
==========8<==========
Everything works fine
One bad thing about it is the translation quality. I'll try to fix it if the original author wont be against.
Posts: 6818
Do you have a SYSTEM locale called ru_RU.cp1251 ?
Jens
Posts: 6
Yes
Posts: 6818
AAAAAH,
this explains much !
Because i have not !
So maybe the simple solution is to rename the ru_RU package to ru_RU.cp1251 ??
Jens
Posts: 6
Curious thing - now I've uploaded the standard (included in release and night build) ru_RU language pack and ONLY changed in config.php from
$gallery->app->locale_alias['ru_RU'] = "ru_RU";
to
$gallery->app->locale_alias['ru_RU'] = "ru_RU.cp1251";
and everything began to work fine, except some problems like alt property of the img tag which is written in special symbols with &.
Another question: is the russian (and perhaps any other) translation is the COMPLETE - i mean that can an interpriter translate each word? Because when I select the "add comment" link I see russian words in the upper part of the window (I could find them in the ru_RU-gallery_core.po file) and english words in the form: "add your comment", "Commenter" and "Message" (I couldn't find them in the ru_RU-gallery_core.po file - the equivalent strings for translation)?
Posts: 6
Maybe evening is a bad time for experiments....
I can't understand - in the .po and .mo files there is a clear translation:
#
#: ../albums.php:369
#, php-format
msgid "This album contains %s."
msgstr "Àëüáîì ñîäåðæèò %s."
but in the top page of my gallery (http://photos.upposition.ru/) I see that a part of the text is in russian and another one like i wrote before - in english.
Posts: 6818
Hello,
if you PHP has gettext, you need to recompile the .mo files.
Jens
Posts: 11
Gallery 2 is a great software - the best photo-store-ware I have seen.
But has anyone been able to localize it to Russian properly?
There seem to be no Russian .mo files and no catalog .pot. Supplied makefile could not create .mo either. So I manually compiled one from the core .po in the development distribution to see what would happen.
Now, when I switch languages to Russian, I get "Internet Explorer cannot open the Internet site" dialog box followed by the "Tha Page cannot be displayed" Explorer message. All is good when I switch back to English.
I have seen similar behaviour from another ap, when I did not have iconv loaded, but now I do, so UTF-8 conversion should work fine. Why doesn't it? What's up with this?
Please, please please help!
Posts: 3
I've just installed G2.0.2. It's cool, but the translation is killing me - it's awful! I'd like to help you make a good one. Could you tell me how I can do it? Do not hesitate to contact me via e-mail.
Posts: 11
Laroy, what did you have to do to make the Russian translation actually work?
BTW, there is a newer version of it available on the CVS.
Posts: 3
I've just selected russian language default after the installation.
I'd like to make a human translation. Those russian words are not the right ones in most cases. So it is possible to guess the meaning but it's very unpleasant.
What is "CVS"?
Posts: 11
http://gallery.menalto.com/wiki/DownloadingGalleryUsingCVS
Posts: 243
It's not awful, it was made mechanically made by computer program (Promt of smth).
Human translation is available for 2.0.2 and 2.1 now. Here are instruction:
If you're 2.0.2 (and less) stable release user:
download here: http://www.gallery2.ru/files/ru_RU-v2.0.1-full.zip
and rewrite all old files with new files from this file.
If you're 2.1 cvs user:
that mean that you already have more or less good translation,
but to have 100% russian transation (last update 22 Jan 2006)
download here: http://www.gallery2.ru/files/ru_RU-v2.1-full.zip
and rewrite all old files with new files from this file.
Today I uploaded my ru update 2.1 to be inluded in the official (pre)-release.
https://sourceforge.net/tracker/index.php?func=detail&aid=1415244&group_id=7130&atid=582564
If you read this message after 2.1 was released,
so you do nothing or according to download instruction.
Дополнительную информацию и поговорить по-русски можно на
сайте http://www.gallery2.ru, который уже (почти) работает.
p.s. if anybody could install ru-lang on 1.5.2.?
--
Last G2 translator
Continental
Posts: 3
Да сам вижу, что Промт.. Вот, хотел помочь, нормально перевести.
Спасибо огромное за перевод, сейчас буду устанавливать!
Posts: 243
берите любую страницу с codex и вперед. ;-) там их на всех хватит,
а к g2 я вроде разделался, видимо, мне это раньше всех понадобилось.
Posts: 78
Спасибо за переводы!
Пиши в этой теме, пожалуйста, когда будешь выпускать обновления!
Мы тебе будем очень благодарны!!!
Posts: 243
В RC-1 наконец-то появился мой перевод.
Некоторые непереведенные мелочи, которые появились с его выходом RC1 учтены здесь пост-фактум:
http://sourceforge.net/tracker/index.php?func=detail&aid=1430069&group_id=7130&atid=582564 (только po файлы).
But I could not find any files to translate for super-new modules like Reupload, LinkItems and such other. So, they're still in english. Nothing to tranlsate. There even no PO directory inside.
Posts: 7
I can't make the brouser change automatically from windows to utf8(unicode)
Please Help!
http://www.vntc.ru/fotomm
Ad Man drick9 I have puted to httpd.conf
CharsetDecl utf-8 ru
CharsetWideRecodeTable koi8-r utf-8 /usr/local/apache/conf/tables/russian/koi-utf8.tab
CharsetAlias utf-8 utf unicode
but nothing all work at windowsXP but at linux coding is always set to windows even if i get unicode by hand it is set to windows next click.
may be it is because of /usr/local/apache/conf/tables/russian/koi-utf8.tab ??
Please help.
Posts: 7
I'v installed :
Gallery version = 2.1-rc-2a core 1.0.34
PHP version = 4.3.11 apache
Webserver = Apache/1.3.17 (Unix) PHP/4.3.11 rus/PL30.3
Database = mysql 4.0.16, lock.system=flock
Toolkits = Exif, Getid3, Thumbnail, Gd
Акселерация = none, none
Operating system = Linux www.vntc.ru 2.4.19-16mdkenterprise #1 SMP Fri Sep 20 17:34:59 CEST 2002 i686
Тема по умолчанию = matrix
Locale = ru_RU
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
But it still gives all in CHARSET windows-1251
And no language to select work! I tried to install in english but the gallary installed only in russian windows-1251 won't answere in UTF8.
http://www.vntc.ru/foto1
Posts: 7
I got it don't know how I made many times but after one of this times I just crushed my gallary and tried to install again ... I'm not shue its because of just install again as I changed php.ini to default charset= ""; added utf8 to httpd added undo in httpd for gallary folder and deleted some .mo .po and in gallary data and
but i'm glad thank you all information I got was from this forum.
Posts: 243
may be try to make this post in support forum:
http://gallery.menalto.com/forum/62
?
Posts: 2
Having established руссификатор to gallery v1.5. At me became at all руская the version, and coded words.
[гФРЫШвм РЫмСЮЬ] [ЯХаХЬХбвШвм РЫмСЮЬ] [ЯХаХгЯЮапФЮзШвм РЫмСЮЬ] [ЯХаХШЬХЭЮТРвм РЫмСЮЬ] [аХФРЪвШаЮТРвм ЧРУЮЫЮТЪШ]
Posts: 2
Having established руссификатор to gallery v1.5. At me became at all руская the version, and coded words.
[гФРЫШвм РЫмСЮЬ] [ЯХаХЬХбвШвм РЫмСЮЬ] [ЯХаХгЯЮапФЮзШвм РЫмСЮЬ] [ЯХаХШЬХЭЮТРвм РЫмСЮЬ] [аХФРЪвШаЮТРвм ЧРУЮЫЮТЪШ]
Posts: 78
zanoza, написал ты конечно классно, но лучше бы на форуме каком-нибудь русскоязычном тогда помощи попросил.
чтобы твоей ошибки не было, если это твой сайт и ты хочешь видеть его только на русском,
то в мастере конфигурации сайта на вкладке "Языки и локальные установки" в первой строке выбери Встроеный язык "Русский (Windows)" или Koi-8, если у тебя он. Но я бы рекомендовал Windows.
P.S. This is Russian reply to zanoza as he doesn't understand english.
Posts: 25
Пофиксеный и дополненный русский ланг пак для галереи 1.5.4.
Скачать можно здесь http://www.dimo.spb.ru/
--------------------------------------------
Дмитрий Якимов.
Свадебная фотография в Петербурге
http://www.dimo.spb.ru
Posts: 25
Besides russian language in all other places, please help with the Albums alt=""!
On the first album page (gallery index) everything's ok, deeper it goes - all albums highlight images alts and titles are just trash - russian but converted to special symbols, i.e.:
what i've got
what i want to see
gallery i set up 1.6b26 but it doesn't matter - the same existed since maybe ...1.5.3, for quite a long time.
Anyone has idea how to switch/disable that damn character converting?