System > Administration > language support.
Select the languages you need and install

--- On Thu, 26/6/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Subject: [SLUG] How to load locale in ubuntu for German test environment..
> To: [email protected]
> Received: Thursday, 26 June, 2008, 1:29 PM
> Hi all,
> 
> I want to do testing of some python programs on Ubuntu
> (hardy i think)  
> for a German client.
> 
> Everything works fine for Australia, but I don't seem
> to have a locale  
> for Germany loaded. I have no idea where to load it. Can
> anybody help ?
> 
> >>> import locale
> >>> locale.setlocale(locale.LC_ALL, '')
> 'en_AU.UTF-8'
> >>> print locale.localeconv()
> {'mon_decimal_point': '.',
> 'int_frac_digits': 2, 'p_sep_by_space': 0, 
> 
> 'frac_digits': 2, 'thousands_sep':
> ',', 'n_sign_posn': 1,  
> 'decimal_point': '.',
> 'int_curr_symbol': 'AUD ',
> 'n_cs_precedes': 1,  
> 'p_sign_posn': 1, 'mon_thousands_sep':
> ',', 'negative_sign': '-',  
> 'currency_symbol': '$',
> 'n_sep_by_space': 0, 'mon_grouping': [3, 3,
>  
> 0], 'p_cs_precedes': 1, 'positive_sign':
> '', 'grouping': [3, 3, 0]}
> 
> >>> locale.setlocale(locale.LC_ALL,
> 'de_DE')
> Traceback (most recent call last):
>    File "<pyshell#5>", line 1, in
> <module>
>      locale.setlocale(locale.LC_ALL, 'de_DE')
>    File "locale.py", line 478, in setlocale
>      return _setlocale(category, locale)
> Error: unsupported locale setting
> >>>
> 
> --
> SLUG - Sydney Linux User's Group Mailing List -
> http://slug.org.au/
> Subscription info and FAQs:
> http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to