Starting with MS Office 2010. It's possible to generate .docx documents in Valencian. It's a Catalan langauge (ca-ES) variant using ca-ES-valencia BCP 47 language identifier. With MS Office 2013, also is avaialable a Valencian language pack (UI & spellchecker). Currently LibreOffice supports Valencian UI only, lacks support for ca-ES-valencia for docs and spell-checking. We (Catalan l10n team) have done some testing with MS Office 2013. You can generate .docx with ca-ES-Valencia identifier (please, note uppercase V) with Windows 7 or upper and MS Office 2010 or upper. Then, If you save .docx to .odt, it's exported with ca-ES language identifier. Of course, if you open this .odt with MS Office, then it appears as Catalan (ca-ES) document. Valencian variant is lost. If you open a Valencian.docx file with LibreOffice 4.1.0, no language is assigned. So, there is different features in Valencian docx2odt export filters. If you hack the .odt exported by MS Office 2013 and change language identifier to ca-ES-VAlencian, then Office 2013 opens as Valencian doc properly. So, we request full request for Catalan (Valencian) ca-ES-valencian language code in LibreOffice. I open this bug for tracking and report. I know it's blocked by bug 37496,
Could you do me a favor and attach a small sample document that uses the ca-ES-valencia locale in its content? Would be great and save me some digging around. Thanks.
Created attachment 84930 [details] Valencian sample documents Attached zip file has 3 sample documents in Valencian: 1.- Valencian_document.docx: created with MS Office 2013 2.- Valencian_document.odt: created with MS Office 2013 exporting previous .docx file. 3.- Valencian_document_hacked.odt: manual hacking of previous one adding ca-ES-Valencia language tag in styles.xml Note: AFAIK, MS Office 2013 supports ODF 1.2, but it exports "ca-ES-Valencia" language tag from docx as "ca-ES" to odt. IMHO it's a bug.
Resolved on master with http://cgit.freedesktop.org/libreoffice/core/commit/?id=8d4cd0751516631bcd5c6fabf1eb07d64bb72f17 and all its predecessors. ca-ES-valencia or its LangID is now read from and written to .odt, .docx and .doc files, as well as .ods, but not .xlsx and .xls (seems we currently do not support any character language attribution in these two Excel formats). And it seems MSO2013 does not support the ODF 1.2 *:rfc-language-tag attributes.
Hi, all tests done work as spected, :) We are working in new release for language tools (spelling, hyphenation...) for ca-ES-valencia locale. Thanks!
Eike Rathke committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=164a8c409c2f070ee51ca4258585cf0c8579af51 support ca_ES@valencia glibc locale modifier, fdo#68714 The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Eike Rathke committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=981ac4435369acb0c789c77b8ef5517f53fc2f3f&h=libreoffice-4-2 support ca_ES@valencia glibc locale modifier, fdo#68714 It will be available in LibreOffice 4.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Eike Rathke committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=03e7a16fe2802160b8344058f225a57bdb9c59f5 use proper LanguageTag fallback instead of dumb startsWith(), fdo#68714 The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Eike Rathke committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=8b48c8d1ac7b2a4ef557b9e004a772fa0a6ade71&h=libreoffice-4-2 use proper LanguageTag fallback instead of dumb startsWith(), fdo#68714 It will be available in LibreOffice 4.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.