# locale.default

**URL:** <https://forum.servoy.com/t/locale-default/14465>\
**Category:** Classic Servoy\
**Created:** [August 11, 2011, 10:10am UTC](https://forum.servoy.com/t/locale-default/14465 "2011-08-11T10:10:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![birgit](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@birgit](https://forum.servoy.com/u/birgit)\
**Post date:** [August 11, 2011, 10:10am UTC](https://forum.servoy.com/t/locale-default/14465/1 "2011-08-11T10:10:54Z")

</div>

Hi

How do I set the locale.default value for the application server? I mean: what format does it need? The wiki help sais: ‘The default locale for clients’. Very helpful!

‘de, CH,’  
‘de\_CH’  
‘de.CH’

If I do ‘locale -a’ in a terminal, I receive ‘de\_CH’

What effect does the setting have?

Thanks for help and regards  
Birgit

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [August 16, 2011, 12:04pm UTC](https://forum.servoy.com/t/locale-default/14465/2 "2011-08-16T12:04:05Z")

</div>

its the language code: [http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt](http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt)

and the country code: [http://www.chemie.fu-berlin.de/diverse/ … \_3166.html](http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html)

separated with a ,

This is by the way the locale for webclients (if the browser will not give us enough information) not for smart clients.
