Default paper size in the following countries...

Pádraig Brady P at draigBrady.com
Fri Aug 1 18:54:39 UTC 2008


Bill Nottingham wrote:
> Caolan McNamara (caolanm at redhat.com) said: 
>> So, I want to tidy up OOo's upstream "default paper selection by locale"
>> stuff, so if your country really does *typically* use Letter size paper
>> instead of A4 please let me know.
> 
> Why not use LC_PAPER?

I find the locale database quite inaccurate sometimes unfortunately.
It might be a useful project to sync it with the CLDR?
Anyway this is what is on my fedora system at present:

locale -a | #list all locales
grep -F _ | #exclude nationalities
sort -k1.4,1.5 -u | #pick unique countries
while read LANG; do
  echo $(locale height territory)
done |
grep -F 279 #letter

Canada 279
Puerto Rico 279
USA 279




More information about the devel mailing list