Apache OpenOffice (AOO) Bugzilla – Issue 67497
character / font setting language to "None" gets lost when saving
Last modified: 2013-08-07 15:02:59 UTC
try the following: - activate automatic spell checking - open an new, empty spreadsheet document - enter "XXX" to an arbitrary cell and leave the cell => XXX will be underlined with red, because it may be wrong spelled - change language of cell style "Default" to "None" => underline of XXX disapears (which is correct) - save the spreadsheet document and close it - open the recently saved document => XXX is underlined and the cell style "Default" has a language again
Hi Eike, your's ? Frank
Actually this happens in all applications, language [None] is not stored, instead the fallback is stored. The cause seems to be a missing mapping from LangID to RFC3066, so mapping LANGUAGE_NONE to 'x-none' and vice versa should do.
As the ODF specification for the fo:language and fo:country attributes refers the Extendible Stylesheet Language (XSL) fields (see http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#country), a value of 'x-none' would not have the correct meaning, as 'none' is a predefined value for country with the meaning "Indicates the country is unknown or is not significant to the proper formatting of this object." This is not the case here, as we consider it significant that the language/country pair designates _no_ language assigned. Therefor the language tag should be 'x-nolang'. Any better suggestions?
changed subject to make it more general
*** Issue 69630 has been marked as a duplicate of this issue. ***
The language code "zxx" ("no linguistic content", note: "Used to declare the absence of linguistic information") was recently added to ISO 639, and seems to match the meaning of "[None]" in OOo quite well. Reference: http://www.loc.gov/standards/iso639-2/codechanges.html
Thanks for the hint. Yes, 'zxx' looks promising.
*** Issue 69983 has been marked as a duplicate of this issue. ***
*** Issue 68629 has been marked as a duplicate of this issue. ***
*** Issue 70110 has been marked as a duplicate of this issue. ***
*** Issue 70455 has been marked as a duplicate of this issue. ***
In CWS calc40: i18npool/source/isolang/isolang.cxx 1.8.6.1 i18npool/source/isolang/mslangid.cxx 1.6.6.1 svx/source/items/textitem.cxx 1.65.48.1 Language [None] is stored as ISO 639-2 'zxx'.
Reassigning to QA.
Found fixed on cws calc40 using Solaris, Windows and Linux build.
found fixed on master using Solaris, Windows and Linux build
*** Issue 71946 has been marked as a duplicate of this issue. ***