To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=57252





------- Additional comments from [EMAIL PROTECTED] Mon Jan  9 08:29:08 -0800 
2006 -------
>->mox:
>- when I wrote parts of the script I was also playing with properties in order
> to have global variables. the problem is that applescript tries to save the
> values of those properties back to the script upon exiting. however, this is
> not possible if you do not have write access to the script and you will get 
> an 
> error. just try it with an ordinary user account or make the script read-only.

Wow. Applescript is weird sometimes, when you look at it from shell script
world. I guess this causes us to have to use the get...() functions. It's quite
annoying though, that the functions will recalculate the path everytime and that
I cannot use a variable to store that info. Oh well.

>- how is your localization working ? 
>our idea was to use OOo's localization process which generates .ulf files that
>contain a section for each 
>string and then for each language an entry like localeidentifier="string" the
>idea is to generate an 
>applescript file from those files where the string table is put into a list of
>records.

I haven't investigated it yet, but from what I understood of "localized string"
-function, it would seem that putting the translations into files like
"OOo.app/Contents/Resources/English.lproj/Localized.strings" and
"OOo.app/Contents/Resources/French.lproj/Localized.strings", the applescript
would automatically fetch the correct stuff. The Localized.strings files would
be of form "MSG_NEEDX11" = "You need X11 to run this.";

The .strings files should be pretty easy to generate then.

Or maybe the .app has to be configured with Xcode or something somehow. Dunno.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to