[Solved] 3.0 and Canadian English (en_CA) Dictionary

Discuss setup / installation issues - Add a spell checker, Language pack?
Post Reply
DaveD
Posts: 57
Joined: Tue Apr 01, 2008 8:15 pm

[Solved] 3.0 and Canadian English (en_CA) Dictionary

Post by DaveD »

I have installed the 3.0 RC1 release and was wondering if someone can help me get Canadian English (en_CA) dictionary working.

For previous releases I have copied en_CA.aff and en_CA.dic and modified the dictionary.lst file to contain en_CA line. That worked for all of 2.x but have no idea how to get it to work for 3.0 RC1. It seems as though 3.0 uses the Extensions to add dictionaries in .oxt format. I haven't been able to find a .oxt dictionary file for en_CA yet.

I tried coping the en_CA dictionary files to:
C:\Program Files\OpenOffice.org 3\share\uno_packages\cache\uno_packages\10E.tmp_\dict-en.oxt
but had no success.

A dictionary.lst file does not seem to exist with 3.0 RC1 either.

Anyways, if somebody could help steer me in the right direction that would be great.

Thanks,
Dave
Last edited by DaveD on Sat Sep 06, 2008 10:32 pm, edited 1 time in total.
User avatar
Hagar Delest
Moderator
Posts: 33535
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: 3.0 and Canadian English (en_CA) Dictionary

Post by Hagar Delest »

You need to edit the dictionary.xcu file in that folder, see here: [Solved] OOo 3.0 Beta 2 dictionaries management.

Thanks to add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 24.8 portable on Windows 11.
DaveD
Posts: 57
Joined: Tue Apr 01, 2008 8:15 pm

Re: 3.0 and Canadian English (en_CA) Dictionary

Post by DaveD »

Hagar de l'Est wrote:You need to edit the dictionary.xcu file in that folder, see here: [Solved] OOo 3.0 Beta 2 dictionaries management.

Thanks to add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
Hagar,

Thanks for your response. I had already tried adding the en_CA code to the dictionary.xcu file but it still did not work. I just copied and pasted the code from one of the other English languages and changed the "en_CA" parts. The en_CA.aff and en_CA.dic files were in the same folder as well.

Here is the added code:

Code: Select all

 <node oor:name="HunSpellDic_en-CA" oor:op="fuse">
            <prop oor:name="Locations" oor:type="oor:string-list">
                <value>%origin%/en_CA.aff %origin%/en_CA.dic</value>
            </prop>
            <prop oor:name="Format" oor:type="xs:string">
                <value>DICT_SPELL</value>
            </prop>
            <prop oor:name="Locales" oor:type="oor:string-list">
                <value>en-CA</value>
            </prop>
        </node>
I read all 4 pages of the thread you linked to and it still did not solve my problem. I'm not sure why, in this day and age, it needs to be so difficult with OOo to simply add a dictionary. This is something that should have improved, but it feels like they have taken a step backwards. There should be a simple "Import Dictionary" option, navigate and select the .aff and .dic files.

Anyways, I appreciate your response. I will continue to screw around with this for a while but I'm almost ready to give up already.

Thanks,
Dave
User avatar
Hagar Delest
Moderator
Posts: 33535
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: 3.0 and Canadian English (en_CA) Dictionary

Post by Hagar Delest »

DaveD wrote:I'm not sure why, in this day and age, it needs to be so difficult with OOo to simply add a dictionary. This is something that should have improved, but it feels like they have taken a step backwards.
+1. :cry:
I'll try to think about your issue again but I don't see what could be wrong right now.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 24.8 portable on Windows 11.
Caracalla
Volunteer
Posts: 474
Joined: Thu Nov 22, 2007 2:35 pm
Location: Netherlands, EU

Re: 3.0 and Canadian English (en_CA) Dictionary

Post by Caracalla »

Here you can find a description of how to put dictionary files into an installable extension.
DaveD wrote:I read all 4 pages of the thread you linked to and it still did not solve my problem. I'm not sure why, in this day and age, it needs to be so difficult with OOo to simply add a dictionary. This is something that should have improved, but it feels like they have taken a step backwards. There should be a simple "Import Dictionary" option, navigate and select the .aff and .dic files.
Once more dictionary extensions become available installing (and uninstalling) new dictionaries will be very easy indeed. Remeber, it's all still at the Beta stage.
Has your question been answered? Then please add [solved] to the title of your thread.
My pet peeve, No support for international ordinal numbering
please vote

Er is nu ook een Nederlandstalig forum!
OOo 3.0.X on Ms Windows XP + Opensuse 11.1
DaveD
Posts: 57
Joined: Tue Apr 01, 2008 8:15 pm

Re: 3.0 and Canadian English (en_CA) Dictionary

Post by DaveD »

Caracalla wrote:Here you can find a description of how to put dictionary files into an installable extension.

Once more dictionary extensions become available installing (and uninstalling) new dictionaries will be very easy indeed. Remeber, it's all still at the Beta stage.
I followed what you had said in that post, downloaded your NL dictionary from Rapidshare, extracted it all and edited the two files to refer to en_CA and repackaged as an en_CA .oxt extension. So I now have a working en_CA extension for OOo 3.0 thanks to you. I would be glad to share it with others, but I am not sure how to go about doing that and how to give credit to the original creator of the en_CA dictionaries.

Thanks,
Dave
DaveD
Posts: 57
Joined: Tue Apr 01, 2008 8:15 pm

Re: Solved: 3.0 and Canadian English (en_CA) Dictionary

Post by DaveD »

Thanks Hagar as well for your time and sticking with me on this. I do very much appreciate that.

Cheers,
Dave
User avatar
Hagar Delest
Moderator
Posts: 33535
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Solved] 3.0 and Canadian English (en_CA) Dictionary

Post by Hagar Delest »

Well done!

However, I still find your issue strange because editing the dictionary.xcu file in the /uno_package/... folder should have done the trick. I just installed the RC1 and I tweaked the French dictionary extension to remove some locales and it did work (but I haven't managed to add another dic file).
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 24.8 portable on Windows 11.
Post Reply