Re: russian i18n

Robert Hart <[email protected]> Sun, 23 Nov 2003 10:01:12 +0000
Newsgroups gmane.comp.audio.zinf.devel
Message-ID <1069581672.1765.20.camel@euclid>
On Sat, 2003-11-22 at 01:02, Roman Shiryaev wrote:

> But I can't see russian after adding tracks to playlist 
> http://rmn-sh.nm.ru/playlist-no-rus-titles.jpg
> Also I can't see it in the 'LCD' of zinf.fat
This is a known problem with the way we handle ID3 tags in MP3 files.
Currently we take whatever locale specific string is given to us by the
id3lib, and then later assume it is UTF-8. 

I did have a read of the docs for id3lib, and it looks like we *may* be
able to get it to give us a unicode string. Although I suspect it rather
depends on how you tagged the files in the first place.

If you have any Ogg files, you will find they work with no problem
whatsoever.

> But now I don't see names of songs (from tags)  at all. 
That's not quite true. What you see is the name of the song up to the
first character of invalid UTF-8. Which will be *any* Cyrillic.

> Robert, you have forgotten to fix the following in CVS 
> 
> mdb/muscidb.cpp:150
> 
> shouldn't that be 
> (*m_cd).append(m_mbdb);
> rather than
> (*m_cd).append(m_mdb);
Yeah. I seemed to have forgotten that I had cvs commit access when I
reported that bug. I just don't like to be too hasty about changing
somebody else's code. 

> And another little problems:
> 1/   The top button blocks a line of the text in Download Manager
> See http://rmn-sh.nm.ru/dm-ru-smallfont.jpg
> http://rmn-sh.nm.ru/dm-ru-bigfont.jpg
> The same is in english.
I think the general consensus is that nobody uses the Download Manager,
and that it has only been kept because we can't be bothered to update
the default theme not to have a button for it!

> 2/ After clicking in 'My Music'->About zinf    the incorrect 
> window opens.
True. I think if you are translating the "About zinf" bit you should put
a credit to yourself in the Russian version.
> 3/ Is real to make automatic selection of width of fields in 
> plalists?
Not quite sure what you mean. However, there are lots of bugs with the
current playlist view. *cough* drag & drop. I have only myself to blame.

I think at some point (really soon now) we have to make a choice between
the (slightly broken) musicbrowser, and the (not yet finished)
musicbrowsermm, and then all put our weight behind one or the other. If
zinf is to survive, then we have to make a (relatively) stable release
at some point.

> 4/ How to mark the following string (and others like this)
> ... OptionsPane(_("About"), " About "The_BRANDING, ABOUT, pane);

Good question. Will look into this. Ideally you'd like to be able to do
_(" About "The_BRANDING), but when zinf.pot is updated, it doesn't make
use of the pre-processor, so the string you end up with to translate is
just " About ", but later on when it comes to look up the translation,
it is looking for " About Zinf". 

The alternative would be to concatenate the strings together at runtime.
e.g. (very much off the top of my head)

    gchar labeltext[50];
    sprintf(labeltext, _("version %s"), BRANDING_VERSION);
    textlabel = gtk_label_new(labeltext);

By the way, do you have a Russian name for Zinf? There was an
interesting discussion recently on [email protected] (I
think) about whether package names should be translated, transliterated,
or left alone.

> 5/  Is it correctly to translate 'Streaming' as ''Streaming 
> audio' and  'Streaming prefs' as 'Internet-radio settings'  in 
> russian?   I've made so.

Sounds fair enough. I would probably try and use the same terminology
each time though, so have "Streaming Audio" and "Streaming Audio
settings"
 
> 6/ What is 'Alternate ip address'  in the 'Streaming prefs' box ?
> I've translated but I doubt & I want to define it more precisely.

I have doubts too. I think it applies to machines that have more than
one IP address, and need to use a particular one to get streaming to
work. Couldn't say for sure though. I suspect you will need to trawl
through the source to find out for sure.

> That's all for the present

HTH. Keep them coming.

-- 

Robert Hart <[email protected]>



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/