[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] RSC and multilinguality issues?



Hi All!

We had a talk with Frank about the $subj. I'm sending only Frank mails 
here as it is clearly readable IMHO.
What do you think about this topic?

best regards

STan

---------- Forwarded message ----------
Date: Wed, 15 May 2002 18:03:17 +0200 (CEST)
From: Frank Naumann <fnaumann@cs.uni-magdeburg.de>
To: Standa Opichal <opichals@seznam.cz>
Subject: Re: QED source?

Hello!

> Cool :)
>
> I would like to add some note about the translation I made to some
> textfile in the future... just to be stated in it ;)

Just add it to the doc/ directory in CVS. I also like to handle the
english rsc file automatically (qed loads depending on the language
preference another rsc file). What do you think?

---------- Forwarded message ----------
Date: Thu, 16 May 2002 10:53:12 +0200 (CEST)
From: Frank Naumann <fnaumann@cs.uni-magdeburg.de>
To: Standa Opichal <opichals@seznam.cz>
Subject: Re: QED source?

Hello!

> Yes, this would be quite nice feature, but my experience is that the
> german .RSC file is useless as long as I always want to read English.
> This was also my complains to multilingual .RSC files generated by RSM.
> Why the hell I need to keep spanish strings within memory?
> Just my opinion.

No, I just meant that you simply add a small if() condition that depending
on the language preference load another RSC file (loading qed_e.rsc
instead qed.rsc for example).

All other solutions require much more work at the moment.

---------- Forwarded message ----------
Date: Thu, 16 May 2002 15:16:17 +0200 (CEST)
From: Frank Naumann <fnaumann@cs.uni-magdeburg.de>
To: Standa Opichal <opichals@seznam.cz>
Subject: Re: QED source?

Hello!

> Yes, I agree with that, but I just see this as a waste of space by 
putting
> there even the one if(). IMHO it is nonsense to have several .RSC files 
of
> different languages on the disk. The names and other needed support does
> not matter. This would only create problems for users.. Just imagine you
> would by chance investigate why the hell it can't find the .RSC when you
> have all of them there. ;|

And at the moment it's user friendly to download another rsc seperatly and
to replace the standard shipped rsc?

Then I ask me why to have qed as rpm package if the user have to overwrite
the rpm installation ...

At least if no such rsc file is found every better programmer would
fallback to the standard name, or not?

---------- Forwarded message ----------
Date: Thu, 16 May 2002 16:36:29 +0200 (CEST)
From: Frank Naumann <fnaumann@cs.uni-magdeburg.de>
To: Standa Opichal <opichals@seznam.cz>
Subject: Re: QED source?
Resent-Date: Thu, 16 May 2002 16:36:45 +0200 (CEST)
Resent-From: OpichalS@seznam.cz
Resent-To: stop@idoox.com

Hello!

> Well... seem also not that logical.. :( But it is the way all 
the
> application does this.
>
> There is a possibility to support some GEM installer (or any 
other
> open-source ... to be created AFAIK) tool to select the 
language
> independently to the application. There might be some standard 
way to name
> the .RSC files and the tool would jsut allow to simply select 
the language
> and move the needed .RSC to the file that is to be used (if 
not to create
> link if the filesystem supports it).

I dislike this overcopying. This is bad style in my oppionion.

> I don't know how the i18n is handled in Linux and other 
unix-like world.

The applications support it. Mainly all strings are outsourced. 
The right
strings are loaded on startup.

> > At least if no such rsc file is found every better 
programmer would
> > fallback to the standard name, or not?
>
> Hmm, and what would be the standard name .RSC and its 
language? I would
> guess English and QED.RSC, but you would most probably want 
QED.RSC, but
> German, woudn't you?

One suggestion is to number the different languages:

*.RS0 - english
*.RS1 - german
*.RS2 - france
*.RS2 - ...

> BTW: Shouldn't this topic to be moved to the MiNT list e.g.? 
We are not
> the only ones here. I hope.

I really like your optimism.

---------- Forwarded message ----------
Date: Thu, 16 May 2002 18:01:27 +0200 (CEST)
From: Frank Naumann <fnaumann@cs.uni-magdeburg.de>
To: Standa Opichal <opichals@seznam.cz>
Subject: Re: QED source?
Resent-Date: Thu, 16 May 2002 18:01:38 +0200 (CEST)
Resent-From: OpichalS@seznam.cz
Resent-To: stop@idoox.com

Hello!

> > The applications support it. Mainly all strings are 
outsourced. The right
> > strings are loaded on startup.
>
> So I have all the Japanese, Spanish and every other languages 
on my disk
> here in my Linux installation? Brrrr!!! What for???

What do you think is all the stuff under /usr/share/locale for 
:-)?

> > One suggestion is to number the different languages:
> >
> > *.RS0 - english
> > *.RS1 - german
> > *.RS2 - france
> > *.RS2 - ...
>
> No, this is confusing.... let it have the _en.rsc, _de.rsc 
form... This is
> FAT FS compatible and it is obvious what language is within.

But it strip down the name length to 5 characters.

> And which should be the default one?

English for sure.