Issue 126864

Summary: Add Venetan (Italy) [vec] locale data
Product: Internationalization Reporter: mauro <tacchan666>
Component: i18npoolAssignee: Andrea Pescetti <pescetti>
Status: ACCEPTED --- QA Contact:
Severity: Normal    
Priority: P3 CC: mechtilde, mseidel, oooforum, pescetti
Version: 4.2.0-dev   
Target Milestone: 4.2.0   
Hardware: All   
OS: All   
Issue Type: PATCH Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
The Venetan language is not available in the Western languages list
none
venetan dictionary
none
Patch for Venetan support none

Description mauro 2016-03-09 13:37:43 UTC
Created attachment 85354 [details]
The Venetan language is not available in the Western languages list

I want to install the spell checker for my language, Venetan, and it seems I couldn't because OpenOffice Write does not have the Venetan language (ISO 639-3 code "vec") installed.
In fact in the dictionaries.xcu in my vec.oxt I cannot write the Locales "vec".

<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Linguistic" oor:package="org.openoffice.Office">   
<node oor:name="ServiceManager">
	<node oor:name="Dictionaries">
		<node oor:name="HunSpellDic_vec" oor:op="fuse">
			<prop oor:name="Locations" oor:type="oor:string-list">
				<value>%origin%/../dictionaries/vec.aff %origin%/../dictionaries/vec.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>vec</value>
			</prop>
		</node>
	</node>
</node>
</oor:component-data>

The Venetan language consists of unicode blocks 'Basic Latin' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, r, s, t, u, v, x), 'Latin-1 Supplement' (à, đ, è, é, ñ, ò, ó, ú), 'Latin Extended-A' (ŧ), and 'Latin Extended-B' (ɉ, ƚ).
Comment 1 oooforum (fr) 2016-03-11 08:48:40 UTC
Easy hack to add this language in the list of
openoffice/trunk/main/i18npool/source/isolang/isolang.cxx
You can propose a patch for a next build but I don't know if this is sufficient.
Comment 2 mauro 2016-03-11 15:38:00 UTC
Thank you for the reply!
How can I propose a patch?
What do you mean by "is not sufficient"? What is not sufficient?
Comment 3 Marcus 2016-03-14 18:20:21 UTC
@Andrea:
You have some experience with new language codes. Can you help here? Thanks.
Comment 4 Andrea Pescetti 2016-03-15 07:49:05 UTC
Hello Mauro, for my better understanding, is this the language named "Veneto" in Italian?

There are multiple levels of language support:

1) As a document language (you write documents in Veneto, but you use menus in Italian/English or whatever you prefer and you don't use locale data).

2) As a document language with locale data (this affects for example the default currency and number formatting, like "123,45 €")

3) As an interface language (you translate the entire OpenOffice menus to Veneto).

I think you want level 2 here, at least looking at your XML file.

There is also a mailing list http://mail-archives.apache.org/mod_mbox/openoffice-progetto-it/ where several volunteers from Veneto are active, in case more support is needed.

An important note for Microsoft Office compatibility: do you know of any support for Veneto in Microsoft Office? We usually use the same locale IDs in case, so that document language is preserved.
Comment 5 mauro 2016-03-15 08:17:53 UTC
> is this the language named "Veneto" in Italian?

Yes, it is.


> I think you want level 2 here, at least looking at your XML file.

I made that xml file because somewhere I found it is a necessary step to make, but actually is enough for me level 1 (for now at least).


Thank you for the url to the mailing list.


> do you know of any support for Veneto in Microsoft Office?

Unfortunately no.
Comment 6 Andrea Pescetti 2016-03-15 08:47:49 UTC
OK, I'll be taking care of this next weekend probably. Just one thing: assuming we do the builds (i.e., we produce a development snapshot of OpenOffice for you to test this), it is OK for you to test with a Linux (64-bit) build? We can produce those much faster than Windows/Mac builds, even though Windows/Mac development builds are expected to come reasonably soon.
Comment 7 mauro 2016-03-15 09:08:49 UTC
Thank you very much!
Unfortunately I cannot test it with Linux, I only own a Windows 64-bit...
Comment 8 mauro 2016-04-05 09:22:19 UTC
Any news?
Comment 9 Andrea Pescetti 2016-05-15 22:10:15 UTC
@mauro: This is now supported in my local build, and will be committed as soon as I have time for further testing. Do you have, by chance, a dictionary for Venetan already, so that I can test with it too?
Comment 10 mauro 2016-05-16 07:21:59 UTC
Created attachment 85538 [details]
venetan dictionary
Comment 11 mauro 2016-05-16 07:22:59 UTC
Comment on attachment 85538 [details]
venetan dictionary

If you mean an oxt, here you are
Comment 12 Andrea Pescetti 2016-06-13 11:03:51 UTC
Created attachment 85572 [details]
Patch for Venetan support

Patch for Venetan support is attached.
Comment 13 mauro 2016-06-14 07:08:49 UTC
Thank you very very much!
Now what can I do with the patch you submitted? Should I post it to someone?
Comment 14 SVN Robot 2016-08-21 19:57:53 UTC
"pescetti" committed SVN revision 1757080 into trunk:
#i126864# Language support: Add Venetan (vec)
Comment 15 Andrea Pescetti 2016-08-21 20:27:35 UTC
Basic support is committed. A Windows pre-release build will be available at https://ci.apache.org/builders/aoo-win7 (this is under development, so occasionally broken; you need to wait for the next "green" build, dated later than today).

Testing level 1:
1) Open Writer
2) Wrote text in Venetan
3) Select all, Format - Character - Language: Venetan should be on the list.

Testing level 2:
1) Try installing a Venetan spellchecker and check if it works (restart OpenOffice in the process)
Comment 16 mauro 2016-08-22 07:09:44 UTC
Thank you.
I'll check it when the new build is ready.
Comment 17 Andrea Pescetti 2016-08-25 21:22:04 UTC
For the record, buildbots are now working correctly again. Any English build appearing at
https://ci.apache.org/projects/openoffice/install/win/
will be OK for testing.
Comment 18 mauro 2016-08-26 07:12:53 UTC
I tried with Apache_OpenOffice_4.2.0_Win_x86_install_en-US_1757080.exe and the spellchecker works as expected for a file previously setted as Venetan.
But if I go to the menu Tools > Language > For all Text > More, in the section Default languages for documents, the Western drop-down is missing the string "Venetan".
Comment 19 mauro 2016-11-08 19:51:36 UTC
Any news?