http://bugs.cinelerra.org/show_bug.cgi?id=513
------- Comment #2 from [EMAIL PROTECTED] 2008-08-10 13:39 +2 ------- Thanks for the patch, but... (In reply to comment #0) > in locale ru_RU.CP1251 user interface was displayed in .po file's encoding > (koi8-r) > instead of the user's encoding, causing completely unreadable text. > workaround is to launch > LANG=C cinelerra > > proposed patch: > > --- hvirtual/cinelerra/main.C 2006-10-02 19:01:40 +0300 > +++ hvirtual/cinelerra/main.C 2008-08-07 19:01:31 +0300 > @@ -82,10 +82,18 @@ > > > > + /* setting LC_MESSAGES and LC_CTYPE was not enough, but LC_ALL was > fine. */ "was not enough" is a bit too vage to explain why we should need LC_ALL. > + //setlocale (LC_MESSAGES, ""); > + //setlocale (LC_CTYPE, ""); > + setlocale (LC_ALL, ""); You cannot do that because edit boxes with floating point numbers expect that the decimal point is '.'; you must not change LC_NUMERIC. > + /* gettext should obtain charset encoding from current locale. > + * Otherwise translation can be displayed in .po file's encoding, > + * instead of the user's encoding, causing completely unreadable text > + * in case those encodings are different. This bug is undependent of > + * the utf-8 dirty hack above. > + */ > bindtextdomain (PACKAGE, LOCALEDIR); > textdomain (PACKAGE); Reading your comment I assume that you know a bit about the interaction of gettext and locale. So please explain why LC_MESSAGE and LC_CTYPE are not enough. -- Configure bugmail: http://bugs.cinelerra.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. _______________________________________________ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra