Hi Andrew,
I can see that you have another approach to the problem so far. My idea has been to use the already existing localization files to also localize other things than dialogs.

More comments inline to spare you a lot of time (I solved the most important problem).


On 01-12-2011 08:58, Andrew Douglas Pitonyak wrote:
On 11/30/2011 09:27 AM, Leif Lodahl wrote:
Thanks Andrew,
Please send me your ideas and examples.

I sent you a full copy of the source used to create an extension,...

Wow.
This is certainly a bunch of gold. I will use this to compile the final extension - I'm sure.

For others who might be interested: Is this public available somewhere? I can recommend to every macro programmer to have a look.


My idea is also to use it in an extension.


Problems so faris:

- When I read the DialogStrings_xx_YY.properties ... <- problem solved ;-)
    - Effectiveness. I'm not sure this is the most effective way and I'm
affraid that with many strings it will run slow. I haven't tried with more
    than these very few strings.

Ahhh, I can perhaps take a look, but it is already 3:00 AM and I must be up early for work.
Hey its no hurry.
in the meantime I asked a colleague for help and we found a solution for the UTF8 problem. New version here:
http://blog.magenta-aps.dk/wp-content/uploads/2011/12/Review.oxt

But I still would like your opinion.

For the record: If anyone can use it, its free software (LGPL/GPL or something) ;-)


Missing work to be done (not problems)

    - Error handling
- Better way to load only relevant strings (only partly implemented so
    far)
    - Default language should be from DialogString_xx_YY.default and not
    hardcoded
    - Script to generate Addons.xcu and /Office/UI/XYZWindowState.xcu

Feel free to tell me what you think of my solution.


Cheers,
Leif Lodahl
The Danish Team



--
For unsubscribe instructions e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to