[l10n-dev] Getting translated style names

2009-10-16 Thread Alan Yaniger
Hi list-members, In the OOo Hebrew version, I can use the following macro code to get the English names of all paragraph styles in a document: oFamilies = ThisComponent.StyleFamilies oStyles = oFamilies.getByName("ParagraphStyles") sMsg = "" mStyleNames = oStyles.getElementNames() For

[l10n-dev] XML tags in localized helpcontent2

2009-01-12 Thread Alan Yaniger
Hi list-members, I'm trying to build helpcontent2 for Hebrew. Sometimes I'm getting problems with XML tags in the resulting xhp files, since they get converted to literals (“>” gets converted to “>”, for example). This causes error messages in the help file screens. Example, comparing “en-

Re: [l10n-dev] Breakiterator override probem

2008-11-07 Thread Alan Yaniger
- [:Script = Lao:] - [:Script = Hiragana:]]; Regards, Karl. On 2008年11月06日 11:44, Alan Yaniger wrote: Hi Karl, I've added mt rule to dict_word_he.txt, and rebuilt, but still no change. Is the syntax of my rule OK? Alan Karl Hong wrote: Hi Alan, Th

Re: [l10n-dev] Breakiterator override probem

2008-11-06 Thread Alan Yaniger
8年11月06日 11:15, Alan Yaniger wrote: Hi Karl, Thanks for your help, but I'm still having difficulty. I've added the following at the end of data/dict_word.txt: $HebrewLetter = [\u05d0-\u05ea]; $DoubleQuote = \u0022; $HebrewLetter+ $DoubleQuote $HebrewLetter+; but it d

Re: [l10n-dev] Breakiterator override probem

2008-11-06 Thread Alan Yaniger
quotation mark, and following by one or more Hebrew letters. for rule syntax, check ICU user guide http://icu-project.org/userguide/boundaryAnalysis.html Regards, Karl. On 2008年11月05日 11:11, Alan Yaniger wrote: Hi Karl, I'm trying to address issue 51772. Single or double-quotes are used

Re: [l10n-dev] Breakiterator override probem

2008-11-05 Thread Alan Yaniger
es. What would you like to do with endOfScript for Hebrew exactly? Regards, Karl. On 2008?11?05? 06:41, Mathias Bauer wrote: Hi Alan, Alan Yaniger wrote: Hi list-members, For Hebrew text, I would like to override the BreakIteratorImpl::endOfScript() function. I tried: - writing a Bre

[l10n-dev] Breakiterator override probem

2008-11-05 Thread Alan Yaniger
Hi list-members, For Hebrew text, I would like to override the BreakIteratorImpl::endOfScript() function. I tried: - writing a Breakiterator_he class (with hxx and cxx files) , - I added it to the SLOFILES section of makefile.mk, - I added it to the instances array in registerservices.cxx - I

Re: [l10n-dev] Getting the default language codes

2007-10-28 Thread Alan Yaniger
Hi Jonathon, I've added CJK support to the patch. See: http://www.openoffice.org/nonav/issues/showattachment.cgi/49200/83000_withCJK.patch Alan jonathon wrote: Alan wrote: both the Western default and the CTL default. If there is not such a function, what is the most elegant way of g

Re: [l10n-dev] Getting the default language codes

2007-10-26 Thread Alan Yaniger
Hi everyone, Just to illustrate, you can see the way I've done it towards the end of the patch at http://www.openoffice.org/nonav/issues/showattachment.cgi/49180/83000.patch If there's a simpler way, I'd be happy to know. Alan Alan Yaniger wrote: Hi everyone, Is t

[l10n-dev] Getting the default language codes

2007-10-26 Thread Alan Yaniger
Hi everyone, Is there a function which will return a string containing the default languages for documents (like "en-US", "de", etc.)? I would need it for both the Western default and the CTL default. If there is not such a function, what is the most elegant way of getting these values? Th

[l10n-dev] Getting chars for a specified language

2007-09-18 Thread Alan Yaniger
Hi list-members, I'm interested writing code to get the Unicode values of the first three characters of a given language's alphabet. How would I go about this? Thanks, Alan - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

[l10n-dev] Semi-translated system dialogs

2007-05-14 Thread Alan Yaniger
Hi list-members, In my Hebrew-localized Windows version of 2.2, I've got a problem with dialogs. When I set "Use OpenOffice.org" dialogs, and open a dialog, it is properly translated. But when I use system dialogs, I get haf-translated dialogs. For example, if in the Formula editor, I choose

Re: [l10n-dev] RTL footnote line seperator

2006-09-03 Thread Alan Yaniger
t-Type: text/plain; charset=ISO-8859-1; format=flowed Subject: [l10n-dev] RTL footnote line seperator Hi Alan, On 08/31/06 11:18, Alan Yaniger wrote: I want Writer to set the position of the footnote separator line to be aligned to the right instead of to the left, since I'm building RTL OOo.

[l10n-dev] RTL footnote line seperator

2006-08-31 Thread Alan Yaniger
Hi list-members, I want Writer to set the position of the footnote separator line to be aligned to the right instead of to the left, since I'm building RTL OOo. This means initializing to "Right" the value in the listbox "Format/Page/Footnote/Seperator Line/Position". Where can I initialize t

[l10n-dev] Locale data initialization

2006-06-20 Thread Alan Yaniger
Hi list-members, My m169 Hebrew build on Windows crashes when I choose Options/General. The crash happens in svx/source/optgdlg.cxx in IMPL_LINK( OfaMiscTabPage, TwoFigureHdl, NumericField*, pEd ) after I get the locale's thousand-separator. As soon as I try to get that variable's length ("rSe

Re: [l10n-dev] pot file errors

2006-04-10 Thread Alan Yaniger
LIBS.RID_PB_NEWLIB.pushbutton.text msgid "_: moduldlg.src#RID_TP_LIBS.RID_PB_NEWLIB.pushbutton.text\n" "~New..." msgstr "" some text from the string ID incorrectly found its way into the "msgid" field. If I am incorrect, please set me straight. Thanks, Alan Ain

[l10n-dev] pot file errors

2006-04-10 Thread Alan Yaniger
Hi list-members, I downloaded pot files for m162 from ftp://ftp.linux.cz/pub/localization/OpenOffice.org/devel/POT/OpenOffice.org-SRC680_m162-POT.tar.gz It seems that there are errors in the following lines in basctl/source/basicide.pot: line 243: #: basidesh.src#RID_STR_STDDIALOGNAME.string.

Re: [l10n-dev] Right-to-left localization

2006-01-26 Thread Alan Yaniger
Hi Farzaneh, When localizing 2.0, I didn't have to do anything special to get the Hebrew UI to show up right-to-left. It may be because Hebrew is defined as a CTL language in ScriptTypeDetector::getCTLScriptType in the source file i18npool/source/characterclassification/scripttypedetector.cxx

Re: [l10n-dev] Compiling langpacks on Fedora Core

2006-01-05 Thread Alan Yaniger
whole OO.o. I appreciate your help, farzaneh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Alan Yaniger Tk Open Systems begin:vcard fn:Alan Yaniger n:Yaniger;Alan email;internet

[l10n-dev] Hebrew GSI file

2006-01-03 Thread Alan Yaniger
Hi list-members, I'm writing to let you know that I've posted a Hebrew GSI file for 2.0 at: http://www.openoffice.org/issues/show_bug.cgi?id=59982 Alan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [l10n-dev] Greek alphabet numbering

2005-12-15 Thread Alan Yaniger
Hi Eike and list-members, ... though there are still serious problems with Hebrew numbering, since it can't be saved in Impress (Issue 58395) or exported to WW8 format (Issue 59053). Alan Eike Rathke wrote: This resembles a bit the Hebrew numeral system, which is already implemented, see i

Re: [l10n-dev] Serious bug with comboboxes in RTL

2005-10-15 Thread Alan Yaniger
Hi Eike, As I mentioned in my previous message, I filed issue 55698. Alan Eike Rathke wrote: Hi Alan, On Fri, Oct 14, 2005 at 11:11:35 +0200, Alan Yaniger wrote: There is a serious problem with drop-down lists when in RTL mode. Please file an issue, preferably after having checked if

[l10n-dev] Serious bug with comboboxes in RTL

2005-10-14 Thread Alan Yaniger
th this bug. I think that one can assume that just about every single RTL OOo user will come across it, after using OOo for even a short time. Alan Yaniger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

[l10n-dev] "Start" menu strings

2005-09-08 Thread Alan Yaniger
Hi list-members, I would like to translate the strings of the Windows "Start" menu entries for OOo, without side effects that might change strings elsewhere. In which file(s) are these strings located? Thanks, Alan -- Alan Yaniger Tk Open Systems begin:vcard fn:Alan Yaniger n:Ya

Re: [l10n-dev] Changing language of new menu entry

2005-08-04 Thread Alan Yaniger
Hi Eike, Thanks for the suggestion. Alan Eike Rathke wrote: Hi Alan, On Wed, Aug 03, 2005 at 23:14:55 +0300, Alan Yaniger wrote: I'm not sure that this message was readable the first time I sent it, (it doesn't seem to be readable in standard display on the OOo website)

[l10n-dev] Changing language of new menu entry

2005-08-03 Thread Alan Yaniger
menus to disappear. How do I get an English label for my macro to appear to in the menu when I apply the English language pack? Thanks for any help, Alan Yaniger -- Alan Yaniger Tk Open Systems begin:vcard fn:Alan Yaniger n:Yaniger;Alan email;internet:[EMAIL PROTECTED] version:2.1 end

[l10n-dev] Changing language of new menu entry

2005-08-02 Thread Alan Yaniger
ar.xml in each directory. (I modified d.lst accordingly.) However, this just caused all the menus to disappear. How do I get an English label for my macro to appear to in the menu when I apply the English language pack? Thanks for any help, Alan Yaniger --

Re: [l10n-dev] Hebrew work-breaking in 2.0 beta

2005-07-08 Thread Alan Yaniger
Hi Eike, Since the patch I've submitted works for Ctrl-Left/Ctrl-Right, but not for spellchecking, should I file an issue about this, even though the patch is not yet part of the OOo code? Alan Alan Yaniger wrote: Hi Eike, Thanks for the suggestion. It happens during spellcheck, bu

Re: [l10n-dev] Hebrew work-breaking in 2.0 beta

2005-07-07 Thread Alan Yaniger
Hi Eike, Thanks for the suggestion. It happens during spellcheck, but not when travelling word-wise with the cursor. I don't know how to use the breakiterator API. Alan Eike Rathke wrote: Does that happen only with spellcheck or also when travelling word-wise with the cursor (Ctrl-Left, Ct

Re: [l10n-dev] Hebrew work-breaking in 2.0 beta

2005-07-07 Thread Alan Yaniger
Thanks, Alan Eike Rathke wrote: Hi Alan, On Wed, Jul 06, 2005 at 13:32:39 +0300, Alan Yaniger wrote: I wrote code to deal with this problem (revision 1.12.42.2), and in 1.1.2, the word-breaking behavior was ok. The exact changes are listed in http://qa.openoffice.org/issues/show_b

[l10n-dev] Hebrew work-breaking in 2.0 beta

2005-07-06 Thread Alan Yaniger
on how to solve this problem in 1.9. Thanks in advance, Alan Yaniger Tkos Open Systems - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [l10n-dev] Error creating SDF from PO files

2005-03-07 Thread Alan Yaniger
best to give 0.8rc2 a go... Hope that helps, please report back David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Alan Yaniger Tk Open Sy

[l10n-dev] Error creating SDF from PO files

2005-03-06 Thread Alan Yaniger
[EMAIL PROTECTED] 1075: echo $PYTHONPATH /tmp/SOMEWHERE/lib/python What going wrong here? (The Hebrew strings in my PO files are UTF-8 encoded, if that makes a difference.) Thanks, -- Alan Yaniger Tk Open Systems - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]