Blender Git Commit Log

Git Commits -> Revision 3563f67

Revision 3563f67 by Sergey Sharybin (master)
December 22, 2011, 19:09 (GMT)
Fix #29494: Problem loading translations at Blender's startup

Problem was caused by trying to set locale to short named "es" locale
which failed. It's not really obvious which full locale name should
be used here (there are plenty of dialects), so rather than keeping
locale stuff on state when both of locale and utf-8 locale names
failed, restore default settings (restore environment variables and
use default locale for gettext).

This will resolve cases when spanish language is native on the system,
but it will fail in cases when somebody will want to have spanish
interface in non-spanish system. This might be worked around by setting
LANG and LANGUAGE environment variables to es_<dialect>.UTF-8 and it
should work fine,

Commit Details:

Full Hash: 3563f677f88baf7b1f68d7f435787e3bf4a20d24
SVN Revision: 42830
Parent Commit: 39fd8fa
Lines Changed: +6, -0

1 Modified Path:

/source/blender/blenfont/intern/blf_lang.c (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021