Re: [gentoo-user] $LINGUAS question

2008-05-24 Thread Mick
On Friday 23 May 2008, Neil Bothwick wrote:
 On Fri, 23 May 2008 17:02:19 +0100, Mick wrote:
  Despite my LINGUAS settings I have noticed that kcontrol only shows
  US English under languages.  Country  Region allows me to select
  UK, but the only option that I have/can add under languages is US.
  Spelling is en_US, although I would like to choose en_UK.  What
  control what languages can be added there?

 emerge kde-i18n

Just as was ready to reply I already have I found out that I have not . . . 
Ha!

Thank you very much.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] $LINGUAS question

2008-05-24 Thread Neil Bothwick
On Sat, 24 May 2008 07:17:35 +0100, Mick wrote:

  emerge kde-i18n  
 
 Just as was ready to reply I already have I found out that I have
 not . . . Ha!

I wonder if it should be a dependency of kdelibs if $LINGUAS is set to
anything but en_US.


-- 
Neil Bothwick

We've all heard that a million monkeys banging on a million
typewriters will eventually reproduce the works of Shakespeare.
Now, thanks to the Internet, we know this is not true.


signature.asc
Description: PGP signature


Re: [gentoo-user] $LINGUAS question

2008-05-23 Thread Mick
2008/5/22  [EMAIL PROTECTED]:
 On Wed, May 21, 2008 at 03:13:44PM +0100, Uwe Thiem wrote:

 Does it matter in which order languages are emerged?

 Mplayer emerge says it uses the first one as the default language, and
 one firefox emerge showed all help menus etc in some non-English
 language.  Wheteher anything else cares, I do not know.

Despite my LINGUAS settings I have noticed that kcontrol only shows
US English under languages.  Country  Region allows me to select
UK, but the only option that I have/can add under languages is US.
Spelling is en_US, although I would like to choose en_UK.  What
control what languages can be added there?
-- 
Regards,
Mick
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] $LINGUAS question

2008-05-23 Thread Neil Bothwick
On Fri, 23 May 2008 17:02:19 +0100, Mick wrote:

 Despite my LINGUAS settings I have noticed that kcontrol only shows
 US English under languages.  Country  Region allows me to select
 UK, but the only option that I have/can add under languages is US.
 Spelling is en_US, although I would like to choose en_UK.  What
 control what languages can be added there?

emerge kde-i18n


-- 
Neil Bothwick

A wok is what you throw at a wabbit.


signature.asc
Description: PGP signature


Re: [gentoo-user] $LINGUAS question

2008-05-21 Thread Mick
On Monday 19 May 2008, Michał 'shpaq' Laszuk wrote:
 Dnia 2008-05-18, nie o godzinie 23:02 +0100, Graham Murray pisze:
  Michał 'shpaq' Laszuk [EMAIL PROTECTED] writes:
   The LINGUAS variable should be only en. en_US is a localization.
 
  In that case why do packages such as mozilla-firefox support (amongst
  others) linguas_en, linguas_en_GB and linguas_en_US? They use the
  LINGUAS variable to select which localised language packs to install. So
  'LINGUAS=en_US en' is perfectly valid.

 You're right. My fault.

Mine has been set to LINGUAS=en_GB el for many years now, but mplayer still 
shows up with scrambled characters on the terminal (aterm/rxvt).  However, 
when rebuilt like:

LINGUAS=en_US emerge -DV mplayer

no more scrambled messages!  This tells me that mplayer's translations are 
partial to the particular LINGUAS flags and probably affected by what 
character sets your terminal can show. 
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] $LINGUAS question

2008-05-21 Thread felix
On Wed, May 21, 2008 at 10:26:58AM +0100, Mick wrote:
 Mine has been set to LINGUAS=en_GB el for many years now, but mplayer still 
 shows up with scrambled characters on the terminal (aterm/rxvt).  However, 
 when rebuilt like:
 
 LINGUAS=en_US emerge -DV mplayer
 
 no more scrambled messages!  This tells me that mplayer's translations are 
 partial to the particular LINGUAS flags and probably affected by what 
 character sets your terminal can show. 

I have also found that when LINGUAS is set to multiple values, emerge
-pv sorts them when it shwos what it would do:

# LINGUAS=en_US en_GB en emerge -pv --nospinner mozilla-firefox-bin

These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild U ] www-client/mozilla-firefox-bin-3.0_rc1 [3.0_beta5-r1] 
USE=-restrict-javascript LINGUAS=en en_GB en_US 0 kB 

Total: 1 package (1 upgrade), Size of downloads: 0 kB

Whether or not this reported order is what it actually uses, I don't
know and don't know how to find out.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] $LINGUAS question

2008-05-21 Thread Uwe Thiem
On Wednesday 21 May 2008, [EMAIL PROTECTED] wrote:
 On Wed, May 21, 2008 at 10:26:58AM +0100, Mick wrote:
  Mine has been set to LINGUAS=en_GB el for many years now, but
  mplayer still shows up with scrambled characters on the terminal
  (aterm/rxvt).  However, when rebuilt like:
 
  LINGUAS=en_US emerge -DV mplayer
 
  no more scrambled messages!  This tells me that mplayer's
  translations are partial to the particular LINGUAS flags and
  probably affected by what character sets your terminal can show.

 I have also found that when LINGUAS is set to multiple values,
 emerge -pv sorts them when it shwos what it would do:

 # LINGUAS=en_US en_GB en emerge -pv --nospinner
 mozilla-firefox-bin

 These are the packages that would be merged, in order:

 Calculating dependencies ... done!
 [ebuild U ] www-client/mozilla-firefox-bin-3.0_rc1
 [3.0_beta5-r1] USE=-restrict-javascript LINGUAS=en en_GB en_US
 0 kB

 Total: 1 package (1 upgrade), Size of downloads: 0 kB

 Whether or not this reported order is what it actually uses, I
 don't know and don't know how to find out.

Does it matter in which order languages are emerged?

Uwe

-- 
Ignorance killed the cat, sir, curiosity was framed!
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] $LINGUAS question

2008-05-21 Thread felix
On Wed, May 21, 2008 at 03:13:44PM +0100, Uwe Thiem wrote:

 Does it matter in which order languages are emerged?

Mplayer emerge says it uses the first one as the default language, and
one firefox emerge showed all help menus etc in some non-English
language.  Wheteher anything else cares, I do not know.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] $LINGUAS question

2008-05-19 Thread Neil Bothwick
On Sun, 18 May 2008 16:28:07 -0700, [EMAIL PROTECTED] wrote:

  LINGUAS is a system-wide setting, it does not make choices for
  individual users, but it does control their range of choice.  
 
 Well, nice theory :-) but mplayer emerge says this --
 
 LOG: setup
 For MPlayer's language support, the configuration will
 use your LINGUAS variable from /etc/make.conf.  If you have more
 than one language enabled, then the first one in the list will
 be used to output the messages, if a translation is available.
 man pages will be created for all languages where translations
 are also available.
 
 and it certainly does not use the first one in the list.

Either you already have a different setting in your local or global
mplayer configuration (emerging previously with a different LINGUAS could
cause this) or you have found a bug.


-- 
Neil Bothwick

Shotgun wedding: A case of wife or death.


signature.asc
Description: PGP signature


Re: [gentoo-user] $LINGUAS question

2008-05-19 Thread Stroller


On 19 May 2008, at 00:02, [EMAIL PROTECTED] wrote:

...
I have had bad luck with LINGUAS.  I tried setting it to all the
languages I knew of --

LINGUAS=en_US af ar az bg bn br bs ca cs cy da de el en_GB eo  
es et eu fa fi fr fy ga gl he hi hr hu is it ja km ko lt lv mk mn  
ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr [EMAIL PROTECTED] ss sv  
ta tg tr uk uz zh_CN zh_TW


out of curiousity, and mplayer, for one, picks something other than
en_US as the default -- all error messages come out like this --

AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
ÐапоÑва вÑзпÑоизвежданеÑо...
[h264 @ 0xb049c0]brainfart cropping not supported, this could look  
slightly wrong ...
VDec: заÑвка на vo config - 480 x 360 (preferred csp: Planar  
YV12)

VDec: using Planar YV12 as output csp (no 0)
ÐÑопоÑÑииÑе на Ñилма Ñа 1.33:1 - маÑабиÑане Ð 
´Ð¾ пÑавилниÑе пÑопоÑÑии .

VO: [xv] 480x360 = 480x360 Planar YV12
A:   2.2 V:   2.2 A-V:  0.005 ct:  0.023   0/  0 10%  2%  1.9% 1 0
Ðзлизане Ð¾Ñ Ð¿ÑогÑамаÑа... (ÐзÑод)
...


On 19 May 2008, at 00:28, [EMAIL PROTECTED] wrote:

Well, nice theory :-) but mplayer emerge says this --

LOG: setup
For MPlayer's language support, the configuration will
use your LINGUAS variable from /etc/make.conf.  If you have more
than one language enabled, then the first one in the list will
be used to output the messages, if a translation is available.
man pages will be created for all languages where translations
are also available.


My guess is that you should be using en only, not en_US or  
en_GB for mplayer. When it finds no en in your LINGUAS - and  
doesn't understand en_US - it uses the next in the list, instead  
(af? ar?).


I'd have thought that languages should be put in LINGUAS in order of  
preference - eg en_GB en_US en then the rest.


Stroller.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] $LINGUAS question

2008-05-19 Thread Michał 'shpaq' Laszuk
Dnia 2008-05-18, nie o godzinie 23:02 +0100, Graham Murray pisze:
 Michał 'shpaq' Laszuk [EMAIL PROTECTED] writes:
 
  The LINGUAS variable should be only en. en_US is a localization.
 
 In that case why do packages such as mozilla-firefox support (amongst
 others) linguas_en, linguas_en_GB and linguas_en_US? They use the
 LINGUAS variable to select which localised language packs to install. So
 'LINGUAS=en_US en' is perfectly valid.

You're right. My fault. 

-- 
Nie istnieje bariera nieskończenie ostateczna,
Nie istnieje nic, co nie może się zmienić.


signature.asc
Description: To jest część	 wiadomości podpisana cyfrowo


[gentoo-user] $LINGUAS question

2008-05-18 Thread »Q«
I only need English support, but USan English is preferred.  I have in
make.conf

LINGUAS=en_US en

thinking that if an app supports en_US that will be used since it's
first.  Is that the way it works?

I guess this is just a trivia question -- I don't even know if there
are apps which could use en_US /and/ en.

-- 
»Q«
 Kleeneness is next to Gödelness.


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] $LINGUAS question

2008-05-18 Thread Michał 'shpaq' Laszuk
Dnia 2008-05-18, nie o godzinie 15:07 -0500, »Q« pisze:
 ng that if an app supports en_US that will be used since it's
 first.  Is that the way it works?

The LINGUAS variable should be only en. en_US is a localization.
-- 
Nie istnieje bariera nieskończenie ostateczna,
Nie istnieje nic, co nie może się zmienić.


signature.asc
Description: To jest część	 wiadomości podpisana cyfrowo


Re: [gentoo-user] $LINGUAS question

2008-05-18 Thread Graham Murray
Michał 'shpaq' Laszuk [EMAIL PROTECTED] writes:

 The LINGUAS variable should be only en. en_US is a localization.

In that case why do packages such as mozilla-firefox support (amongst
others) linguas_en, linguas_en_GB and linguas_en_US? They use the
LINGUAS variable to select which localised language packs to install. So
'LINGUAS=en_US en' is perfectly valid.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] $LINGUAS question

2008-05-18 Thread felix
On Sun, May 18, 2008 at 11:02:07PM +0100, Graham Murray wrote:
 Micha?? 'shpaq' Laszuk [EMAIL PROTECTED] writes:
 
  The LINGUAS variable should be only en. en_US is a localization.
 
 In that case why do packages such as mozilla-firefox support (amongst
 others) linguas_en, linguas_en_GB and linguas_en_US? They use the
 LINGUAS variable to select which localised language packs to install. So
 'LINGUAS=en_US en' is perfectly valid.

I have had bad luck with LINGUAS.  I tried setting it to all the
languages I knew of --

LINGUAS=en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa 
fi fr fy ga gl he hi hr hu is it ja km ko lt lv mk mn ms nb nds nl nn pa pl pt 
pt_BR ro ru rw se sk sl sr [EMAIL PROTECTED] ss sv ta tg tr uk uz zh_CN zh_TW

out of curiousity, and mplayer, for one, picks something other than
en_US as the default -- all error messages come out like this --

AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
 ???...
[h264 @ 0xb049c0]brainfart cropping not supported, this could look slightly 
wrong ...
VDec: ???  vo config - 480 x 360 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
?  ? ??? 1.33:1 - ??  
?? ??? .
VO: [xv] 480x360 = 480x360 Planar YV12 
A:   2.2 V:   2.2 A-V:  0.005 ct:  0.023   0/  0 10%  2%  1.9% 1 0 
??? ??? ?... ()

If I remerge it with LINGUAS=en_US, it shows this:

AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
[h264 @ 0xb00a40]brainfart cropping not supported, this could look slightly 
wrong ...
VDec: vo config request - 480 x 360 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 480x360 = 480x360 Planar YV12 
A:   5.1 V:   5.1 A-V: -0.000 ct:  0.023   0/  0 10%  1%  1.2% 1 0 
Exiting... (Quit)

One merge of firefox beta picked some language other then en for its
messages, menus, etc.

What is LINGUAS supposed to do?

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] $LINGUAS question

2008-05-18 Thread Neil Bothwick
On Sun, 18 May 2008 16:02:25 -0700, [EMAIL PROTECTED] wrote:

 What is LINGUAS supposed to do?

Tell portage which languages you want support for when building an
application. It does not set the default language for that application,
which is either handled by the locale environment variables or the
program's own settings.

LINGUAS is a system-wide setting, it does not make choices for individual
users, but it does control their range of choice.


-- 
Neil Bothwick

If your VCR still flashes 12:00 - then Linux is not for you.


signature.asc
Description: PGP signature


Re: [gentoo-user] $LINGUAS question

2008-05-18 Thread felix
On Mon, May 19, 2008 at 12:22:45AM +0100, Neil Bothwick wrote:
 On Sun, 18 May 2008 16:02:25 -0700, [EMAIL PROTECTED] wrote:
 
  What is LINGUAS supposed to do?
 
 Tell portage which languages you want support for when building an
 application. It does not set the default language for that application,
 which is either handled by the locale environment variables or the
 program's own settings.
 
 LINGUAS is a system-wide setting, it does not make choices for individual
 users, but it does control their range of choice.

Well, nice theory :-) but mplayer emerge says this --

LOG: setup
For MPlayer's language support, the configuration will
use your LINGUAS variable from /etc/make.conf.  If you have more
than one language enabled, then the first one in the list will
be used to output the messages, if a translation is available.
man pages will be created for all languages where translations
are also available.

and it certainly does not use the first one in the list.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] $LINGUAS question

2008-05-18 Thread Volker Armin Hemmann
On Sonntag, 18. Mai 2008, »Q« wrote:
 I only need English support, but USan English is preferred.  I have in
 make.conf

 LINGUAS=en_US en

 thinking that if an app supports en_US that will be used since it's
 first.  Is that the way it works?

no. It installs the en_US and en language files.

Set something like LC_ALL=en_US
--
gentoo-user@lists.gentoo.org mailing list