[Bf-committers] [Soc-2011-dev] Final Report - Garlic Branch

xiangquan xiao xiaoxiangquan at gmail.com
Tue Sep 6 11:50:24 CEST 2011


Thanks, I'll look into it.

2011/9/6 Dalai Felinto <dfelinto at gmail.com>

> Hi,
>
> win32 bits version: http://www.graphicall.org/582
> win64 bits still fails for me (it builds and link, but does not translate
> the ui).
>
> Also I noticed that the whole ui is translated in oppose to 2.49 where we
> could set Tooltip/Toolbox/Buttons to be translated (the options are eve
> still there and exposed to the rna).
>
> I will remove the 64build. But be aware that 323 people downloaded it, so
> there is clear interest on it.
>
> Regards,
> Dalai
>
> 2011/9/5 xiangquan xiao <xiaoxiangquan at gmail.com>
>
> > Hi, I've fixed the problem of setting environment. Pls remove the
> previous
> > windows builds of garlic if possible, as most people actually don't know
> > how
> > to run it well.
> >
> > And if you still have the workspace, maybe you can build a new version
> for
> > me. Or just keep the users waiting for 2.60.
> >
> > Thanks! :)
> >
> > 2011/9/1 Dalai Felinto <dfelinto at gmail.com>
> >
> > > Hi,
> > >
> > > Blender32 is working "fine", but Blender64 (scons at least) is not
> > working
> > > at all (it even crashes the system in some cases).
> > > By fine I mean, you need to set LANG before running Blender and that's
> > it.
> > > The option in the User Preferences panel is always ignored.
> > >
> > > The console from a Korean system:
> > > 1) Without .bat:
> > > :>blender.exe
> > > : ndof: dead zone ...
> > > : set LANG=ko_KR
> > > : Change locale to Korean_Korea.949
> > > : found bundled python: ...
> > > UI IN ENGLISH
> > >
> > > 2) With .bat:
> > > :>set LANG=ko_KR
> > > :>blender.exe
> > > : ndof: dead zone (...)
> > > : set LANG=ko_KR
> > > : Change locale to Korean_Korea.949
> > > : found bundled python: (...)
> > > UI IN KOREAN
> > >
> > > *) note, if the Blender path has any Asian character it crashes Blender
> > > (but
> > > this is a known bug afaik)
> > > Tested/confirmed in my system+builds and in Nathan L.
> > >
> > > --
> > > Dalai
> > >
> > > 2011/8/31 xiangquan xiao <xiaoxiangquan at gmail.com>
> > >
> > > > Thanks, I'll merge it now.
> > > >
> > > > 2011/9/1 Dalai Felinto <dfelinto at gmail.com>
> > > >
> > > > > Garlic test builds on:
> > > > > http://www.graphicall.org/dfelinto
> > > > > (32 and 64 windows builds - make sure you get the right one)
> > > > >
> > > > > --
> > > > > Dalai
> > > > >
> > > > > 2011/8/31 Dalai Felinto <dfelinto at gmail.com>
> > > > >
> > > > > > Sure I can do the build.
> > > > > > But could  you merge the trunk into the branch to update the
> source
> > > to
> > > > > > >2.59?
> > > > > >
> > > > > >
> > > > > >
> > > > > > xiangquan xiao <xiaoxiangquan at gmail.com> wrote:
> > > > > >
> > > > > >
> > > > > > I did the same change to bf_lang.c, too. But as you said, still
> > > > couldn't
> > > > > > work.
> > > > > >
> > > > > > Then according to
> > > > > > http://www.gnu.org/software/gettext/FAQ.html#windows_setenv
> > > > > >  <http://www.gnu.org/software/gettext/FAQ.html#windows_setenv>I
> > > wrote
> > > > a
> > > > > > bat:
> > > > > > set LANG=zh_CN
> > > > > > blender.exe
> > > > > >
> > > > > > It works! I have committed some related fix. You can have a try.
> > > > > > The _envset("LANG","zh_CN") call seems successful, but I still
> need
> > > to
> > > > > set
> > > > > > it before
> > > > > > running Blender. That's very strange. I also tested call
> > system("set
> > > > > > LANG=zh_CN"), failed again.
> > > > > >
> > > > > > After all, we can make Garlic work on windows now. If you or
> > > jesterKing
> > > > > > have
> > > > > > some time, pls
> > > > > > make a windows build for me. I'd like to share it with BlenderCN
> > > > eagerly.
> > > > > I
> > > > > > have got errors on
> > > > > > "make PACKAGE" all the time. (:
> > > > > >
> > > > > > 2011/8/31 Dalai Felinto <dfelinto at gmail.com>
> > > > > >
> > > > > > > I think we are in the right track here. After applying this
> patch
> > > [1]
> > > > I
> > > > > > can
> > > > > > > change languages without the console error.
> > > > > > > The only problem now is that the interface does not change
> (even
> > > > though
> > > > > I
> > > > > > > set to translate buttons, tooltip and the other one -- in the
> > > > > outliner).
> > > > > > >
> > > > > > > Some languages (i.e. Arabic) are not in the Microsoft list. I'm
> > > > afraid
> > > > > > that
> > > > > > > for them we may need to change local in the computer.
> > > > > > >
> > > > > > > [1] - http://www.pasteall.org/24448 (I did it only for
> English,
> > > > > > > Portuguese,
> > > > > > > Chinese, Japanese and Korean), following this:
> > > > > > > http://msdn.microsoft.com/en-US/library/39cwe7zf(v=VS.80).aspx
> > > > > > >
> > > > > > > --
> > > > > > > Dalai
> > > > > > >
> > > > > > > 2011/8/30 xiangquan xiao <xiaoxiangquan at gmail.com>
> > > > > > >
> > > > > > > > One of the problem may be locale names. See
> > > > > > > >
> http://msdn.microsoft.com/en-us/library/x99tb11d(v=vs.80).aspx
> > > > > > > > We set "en_US" for linux, while should set "english" for
> > Windows.
> > > > > > > >
> > > > > > > > Keep on debuging.
> > > > > > > >
> > > > > > > > 2011/8/30 xiangquan xiao <xiaoxiangquan at gmail.com>
> > > > > > > >
> > > > > > > > > Actually I don't know much about Windows's locale setting.
> So
> > > the
> > > > > > wiki
> > > > > > > is
> > > > > > > > > really too short.
> > > > > > > > >
> > > > > > > > > On linux, I tested that only when locale is set, and
> > sometimes
> > > > even
> > > > > > set
> > > > > > > > > LANG and LANGUAGE,
> > > > > > > > > the GNU gettext will work.
> > > > > > > > >
> > http://www.gnu.org/software/gettext/FAQ.html#integrating_howto
> > > > > > > > >
> > > > > > > > > In my test, it just changes locale temporarily and locally
> > for
> > > > > > itself.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2011/8/30 Nathan Letwory <nathan at letworyinteractive.com>
> > > > > > > > >
> > > > > > > > >> -----BEGIN PGP SIGNED MESSAGE-----
> > > > > > > > >> Hash: SHA1
> > > > > > > > >>
> > > > > > > > >> On 29.8.2011 20:28, Dalai Felinto wrote:
> > > > > > > > >> > Hi Kent,
> > > > > > > > >> >> That means you don't have the locale installed on your
> > > > machine.
> > > > > > > > >> >> You'll need to do something like this:
> > > > > > > > >> >> http://dev.ektron.com/kb_ <
> > > > > > > > >> http://dev.ektron.com/kb_article.aspx?id=5982>
> > > > > > > > >> > article.aspx?id=5982 <
> > > > > > http://dev.ektron.com/kb_article.aspx?id=5982
> > > > > > > >
> > > > > > > > >> >
> > > > > > > > >> > Thanks for the link. But from windows it ask me to pick
> a
> > > > > language
> > > > > > > "to
> > > > > > > > >> use
> > > > > > > > >> > when displaying test in programs that do not support
> > > Unicode."
> > > > > > (and
> > > > > > > > >> requires
> > > > > > > > >> > restarting windows).
> > > > > > > > >> >
> > > > > > > > >> > Why do we need that? As far as I know blf is doing all
> the
> > > > hard
> > > > > > work
> > > > > > > > of
> > > > > > > > >> > handling unicode. Maybe we only need to tell Windows
> that
> > > > > Blender
> > > > > > > > >> supports
> > > > > > > > >> > unicode?
> > > > > > > > >> > Indeed awhile back I had Blender patched to use a
> unicode
> > > font
> > > > > > > > >> (droidsans)
> > > > > > > > >> > as the default and could have UI files in Japanese with
> no
> > > > > > problems.
> > > > > > > > >> (and
> > > > > > > > >> > BGE can handle this as well).
> > > > > > > > >>
> > > > > > > > >> To me it also seems strange to have to change system
> locale
> > to
> > > > be
> > > > > > able
> > > > > > > > >> to show GUI in different language. For comparison: I can
> > > easily
> > > > > > change
> > > > > > > > >> Chrome GUI language to different languages without having
> to
> > > > > change
> > > > > > > > >> system locale (just tested with Bengali and Chinese -
> > luckily
> > > > menu
> > > > > > > item
> > > > > > > > >> ordering doesn't change with different items!). Old
> Blender
> > > > didn't
> > > > > > > need
> > > > > > > > >> system locale changes to show different languages either.
> > > > > > > > >>
> > > > > > > > >> IMO there shouldn't be the need for a locale to be
> > > specifically
> > > > > > > > >> installed on a user system for localisation to work.
> > > > > > > > >>
> > > > > > > > >> /Nathan
> > > > > > > > >>
> > > > > > > > >> - --
> > > > > > > > >> Nathan Letwory
> > > > > > > > >> Letwory Interactive | Studio Lumikuu
> > > > > > > > >> http://www.letworyinteractive.com |
> http://www.lumikuu.com
> > > > > > > > >> -----BEGIN PGP SIGNATURE-----
> > > > > > > > >> Version: GnuPG v1.4.10 (MingW32)
> > > > > > > > >> Comment: Using GnuPG with Mozilla -
> > > http://enigmail.mozdev.org/
> > > > > > > > >>
> > > > > > > > >>
> > > iQEcBAEBAgAGBQJOW83oAAoJEKtfN7KsE0TtmuYIAJmFspcZYoPCP0bRiv+buEKv
> > > > > > > > >>
> > > c1Sqc+dQ8H1vvIo2MAgVwkVj836j4ynRUVH2mUKzAjMw/zaRaNESPJ7Wv1cJXrG2
> > > > > > > > >>
> > > ugpB58HfrpTJwwYTv8poqV9YY4z9uFfJItfOgXPUlAf1Rcu8Yzm+56/PkriJVi1c
> > > > > > > > >>
> > > r8w8FHWyJpS39AJvemKOmDjzk9W/iAVXKv83KXTKUiIvC0Towru3b9Ti5LIeKuKl
> > > > > > > > >>
> > > w+Lk2C7bNcMC8RJl010GBnNE5s/xOzmgOVfmUN9fNpLFZJimK1vnv/eMtK4tVrE/
> > > > > > > > >>
> > > dVHwesUebc1Pkj6ReM90dModIrqvzo1FfwvgDs6fGUkFUKisEytwjdQ/iibT2dw=
> > > > > > > > >> =jIbC
> > > > > > > > >> -----END PGP SIGNATURE-----
> > > > > > > > >> _______________________________________________
> > > > > > > > >> Bf-committers mailing list
> > > > > > > > >> Bf-committers at blender.org
> > > > > > > > >> http://lists.blender.org/mailman/listinfo/bf-committers
> > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > _______________________________________________
> > > > > > > > Bf-committers mailing list
> > > > > > > > Bf-committers at blender.org
> > > > > > > > http://lists.blender.org/mailman/listinfo/bf-committers
> > > > > > > >
> > > > > > > _______________________________________________
> > > > > > > Bf-committers mailing list
> > > > > > > Bf-committers at blender.org
> > > > > > > http://lists.blender.org/mailman/listinfo/bf-committers
> > > > > > >
> > > > > > _______________________________________________
> > > > > > Bf-committers mailing list
> > > > > > Bf-committers at blender.org
> > > > > > http://lists.blender.org/mailman/listinfo/bf-committers
> > > > > >
> > > > > >
> > > > > _______________________________________________
> > > > > Bf-committers mailing list
> > > > > Bf-committers at blender.org
> > > > > http://lists.blender.org/mailman/listinfo/bf-committers
> > > > >
> > > > _______________________________________________
> > > > Bf-committers mailing list
> > > > Bf-committers at blender.org
> > > > http://lists.blender.org/mailman/listinfo/bf-committers
> > > >
> > > _______________________________________________
> > > Bf-committers mailing list
> > > Bf-committers at blender.org
> > > http://lists.blender.org/mailman/listinfo/bf-committers
> > >
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers
> >
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list