2010/3/24 Ralf Lehmeier <r.lehmeier@freenet.de>
Mirko Leonhäuser schrieb:

> Hallo,
>
> for the solution in english look at:
>
> http://www.gramps-project.org/wiki/index.php?title=GRAMPS_and_Windows
>
>
> Here a short description in German.
>
>
> die Beispiel Batch Datei ist für die Deutsche Sprache
>
> wichtig ist die beiden Systemvariablen
>
>
>    LANG=de_DE.UTF8
>
>    LANGUAGE=de_DE.UTF8
>
> zu setzen.
> Es sind beide Variablen notwendig damit sowohl das Programm als auch die
> Zusätze wie z.B. der Verwandschaftsrecher in Deutsch sind.
>
> Greatings/ Grüße
>
> M. Leonhäuser
>

A very complicated solution to such a simple problem. :-(

Do feel free to let us know how simple it is.

Specifically how in
http://gramps.svn.sourceforge.net/viewvc/gramps/branches/maintenance/gramps32/src/TransUtils.py?view=markup
the lovely function
def setup_windows_gettext():
must be changed. Extra points if you can fix the dll mess on windows with intl.dll at the same time.

Gramps uses a cross platform system for language determination. We are only waiting for Microsoft to implement it :-)

If you do not feel like setting the LANG variable yourself, you can or figure out why setup_windows_gettext() does not do the trick via your locale defenition, or change line 173:
   lang = os.environ["LANG"]
to the lang you always want to start up with.

Benny
 

MfG R.Lehmeier


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Gramps-users mailing list
Gramps-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-users