Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Gettext in Pharo
Last updated at 6:43 am UTC on 14 April 2018
TODO clean up text below....

Hilaire
Fri, Nov 10, 2017 at 11:10 AM
Reply-To: Any question about pharo is welcome
To: pharo-users@lists.pharo.org
Reply | Reply to all | Forward | Print | Delete | Show original
You can go with http://smalltalkhub.com/#!/~PharoExtras/Gettext

For non latin language you will have to provide extra font at load time.

It works fine on DrGeo based on P3, wtih Latin, Cyrilic, Korean, Chinese ideogram, Japanese[1] messages.

I have no idea regarding its compatibility with P7 however.

Will not work with right to left languages, though.

For asian input methods, a no go too.

Hilaire




Hilaire
Sat, Nov 11, 2017 at 9:42 PM
Reply-To: Any question about pharo is welcome
To: pharo-users@lists.pharo.org
Reply | Reply to all | Forward | Print | Delete | Show original
Le 11/11/2017 à 18:58, Викентий Потапов a écrit :

Well, i've got very extensive feedback for i18n of applications, there are few

You should use the gettext package from PharoExtra, this is the one Seaside developers maintain. I don't understand why there are alternative repo for it...

[..]

What can i do with Pharo? Does it have unified method to deploy pharo applications? I didn't find that method, and i ought to do some messy stuff "by hand".

Of course, you can completely automate your application build.

You can take a look at the DrGeo build scripts there. Part of the image preparation is done inside the image.
http://bazaar.launchpad.net/~drgeo-developers/drgeo/trunk/files/head:/build/

The application build will not be the part I worry about, but more on the GUI. I don't know how complex is your GUI application but Pharo is now on flux with several competitive GUI frameworks, all in the image (spec, Polymoprh, GT), and forth coming brick/bloc. And depending on the complexity you need, you may not have all you need.

Dr. Geo
http://drgeo.eu