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


British and American English are different in their hyphenation (eg.
pleas•ure and plea•sure), but OpenOffice.org and LibreOffice use also
British hyphenation for American English texts. The attached patch
change dictionaries.xcu to fix the problem, but it seems, this is not
enough for the fix.

If I right remember, I have reported this problem (maybe newly
introduced in OOo 3.3) for OOo, thinking that this problem is only a
configuration problem. Maybe a quick solution is to separate en_US and
en_GB dictionary extensions.

Best regards,
Laci
From e50dde276cf2c963859c5a00b8cf4ae016eac0fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=A1szl=C3=B3=20N=C3=A9meth?= <nemeth@numbertext.org>
Date: Fri, 7 Oct 2011 16:43:54 +0200
Subject: [PATCH] Add American English hyphenation for en_US and en-PH instead of British

---
 dictionaries/en/dictionaries.xcu |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/dictionaries/en/dictionaries.xcu b/dictionaries/en/dictionaries.xcu
index 4746419..81e7142 100644
--- a/dictionaries/en/dictionaries.xcu
+++ b/dictionaries/en/dictionaries.xcu
@@ -65,7 +65,18 @@
                 <value>DICT_HYPH</value>
             </prop>
             <prop oor:name="Locales" oor:type="oor:string-list">
-                <value>en-GB en-US en-PH en-ZA en-NA en-ZW en-AU en-CA en-IE en-IN en-BZ en-BS 
en-GH en-JM en-NZ en-TT</value>
+                <value>en-GB en-ZA en-NA en-ZW en-AU en-CA en-IE en-IN en-BZ en-BS en-GH en-JM 
en-NZ en-TT</value>
+            </prop>
+        </node>
+        <node oor:name="HyphDic_en-US" oor:op="fuse">
+            <prop oor:name="Locations" oor:type="oor:string-list">
+                <value>%origin%/hyph_en_US.dic</value>
+            </prop>
+            <prop oor:name="Format" oor:type="xs:string">
+                <value>DICT_HYPH</value>
+            </prop>
+            <prop oor:name="Locales" oor:type="oor:string-list">
+                <value>en-US en-PH</value>
             </prop>
         </node>
         <node oor:name="ThesDic_en-US" oor:op="fuse">
-- 
1.7.4.1


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.