Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


I posted the entire thing here:

http://extensions.libreoffice.org/extension-center/code-colorizer-formatter/

On 12/01/2011 02:02 PM, leif wrote:
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




--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info:  http://www.pitonyak.org/oo.php


--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.