Locale Kit : status update n.2
These two weeks I’ve been quite busy with other things, so the project didn’t move as much as I wanted. However, I managed to get the catalog engine to internationalize an app for the first time. It’s not a big application, just a very simple Hello World test program. And the lack of a tool for translating catalogs means I had to edit them by hand to get the translation done. I will be working in a Catalog AddOn writing a catalog as full text for easier editing.
So, to test the program, you have to
- run make
- mkdir obj.x86/locale
- mkdir obj.x86/locale/catalogs
- mkdir obj.x86/locale/x-vnd.Be-HelloWorldSample
- cpp HelloWindow.cpp > HelloWindow.precpp
- collectcatkeys -s HELO HelloWindow.precpp -o obj.x86/locale/catalogs/x-vnd.Be-HelloWorldSample/english.catalog
- run the application
- you can edit the last occurence of “Hello World!” in the catalog file to change what the app displays.
It seems that attaching catalog as resource or attribute to the executable file doesn’t work yet. You can get the project here: http://dl.free.fr/vqHTlU63B
Feedback is welcome :)
PulkoMandy's blog
- So you want to help with WebKit?
- Haiku activity report - December 2021
- Haiku activity report - November 2021
- Haiku activity report - October 2021
- Haiku activity report - September 2021
- Haiku activity report - Summer 2021
- Haiku activity report - June 2021
- Haiku activity report - May 2021
- Haiku activity report - March and April 2021
- Haiku activity report - February 2021