[braid] Linux - Can I play with my language, Korean?
Homin Lee
ff4500 at gmail.com
Thu Dec 16 01:17:50 EST 2010
Thanks ryan, it works!
I made simple script for auto detect language for braid. following:
#!/bin/bash
BRAID_OPTS="-windowed"
[[ $LANG = pt* ]] && BRAID_LANG=portuguese
[[ $LANG = ja* ]] && BRAID_LANG=japanese
[[ $LANG = es* ]] && BRAID_LANG=spanish
[[ $LANG = it* ]] && BRAID_LANG=italian
[[ $LANG = fr* ]] && BRAID_LANG=french
[[ $LANG = de* ]] && BRAID_LANG=german
[[ $LANG = ko* ]] && BRAID_LANG=korean
[[ $LANG = zh* ]] && BRAID_LANG=tchinese
[[ -z $BRAID_LANG ]] && BRAID_LANG=english
./braid -language $BRAID_LANG $BRAID_OPTS
save this scrip as "braid_l10n" in your braid directory
and, add execute permission.
$ chmod +x braid_l10n
I assumed parameters of the "-language" are file name of .mo
in "/data/string/".
It works great in case of Korean.
and, Hope also works in other languages. :)
to launch braid_l10n in menu,
find line that starts with "Exec=" in luncher file,
~/.local/share/applications/number-none_com-braid_1.desktop
then, change last "braid" to "braid_l10n"
Cheers!
Homin Lee
2010-12-15 (수), 13:25 -0500, Ryan C. Gordon:
> > the bride run beautifully on my system (many Thanks!!)
> > but, all the scripts are in English.
>
> Run the game like this:
>
> ./Braid -language korean
>
> --ryan.
>
>
> _______________________________________________
> braid mailing list
> braid at icculus.org
> http://icculus.org/mailman/listinfo/braid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://icculus.org/pipermail/braid/attachments/20101216/2752982a/attachment.pgp>
More information about the braid
mailing list