Summary: | Missing dc:language metadata element for default language | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Christophe Strobbe <c_strobbe-fdo> |
Component: | Linguistic | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | eyalroz1, rb.henschel |
Priority: | medium | ||
Version: | 3.3.1 release | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=151906 https://bugs.documentfoundation.org/show_bug.cgi?id=103036 https://bugs.documentfoundation.org/show_bug.cgi?id=138792 |
||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 39795, 119352 |
Description
Christophe Strobbe
2011-08-08 10:31:39 UTC
[This is an automated message.] This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it started right out as NEW without ever being explicitly confirmed. The bug is changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases. Details on how to test the 3.5.0 beta1 can be found at: http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1 more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html Version info was previously LibO 3.3.1. I confirm that this bug still applies to LibreOffice 3.5.0 RC1: in newly created files (with Writer or Impress) meta.xml does not contain a dc:language element. Changing the status from NEEDINFO to NEW. Put it back to 3.3.1 since version must contain the oldest version of LO when the bug appeared. For the record, I can still reproduce this with master sources (future 4.3.0) updated today. Steps to reproduce: 1. Create a new Writer document, write some text in it 2. Save it as the default ODS 3. Extract contents of the ODS file (for example with "unzip file.ods" in a Bash shell) 4. Open "meta.xml" 5. Search for the string "dc:language" Reproducible with the following versions, which save the file in ODS 1.3: Version: 7.2.0.0.alpha1+ / LibreOffice Community Build ID: e2970060121824650f95421d8d2411840a40311f CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-05-28_08:38:25 Calc: threaded Version: 7.1.3.2 / LibreOffice Community Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1 CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Version: 7.0.4.2 Build ID: 00(Build:2) CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Ubuntu package version: 1:7.0.4_rc2-0ubuntu0.18.04.2 Calc: threaded The ODF 1.2 spec says that
> The <dc:language> element specifies the default language of a document.
But where is it defined what the "default language" of a document means?
Also, what does "dc" stand for? The ODF spec doesn't seem to offer an expansion of this acronym.
(In reply to Eyal Rozenberg from comment #5) > The ODF 1.2 spec says that > > > The <dc:language> element specifies the default language of a document. > > But where is it defined what the "default language" of a document means? That is understood. It refers to the document's main language. Most documents have just one main language, possibly with passages or quotes in other languages. "Default language" corresponds with the language you define in the html element in web pages (e.g. <html lang="en">). This language is used by speech synthesisers (including those in screen readers used by blind people and in reading software used by dyslexics) and for transformation into Braille (i.e. for selecting the correct Braille table), for example. > > Also, what does "dc" stand for? The ODF spec doesn't seem to offer an > expansion of this acronym. DC is a namespace that is typically used for metadata defined by the Dublin Core Metadata Initiative or DCMI. See for example the DCMI Metadata Terms: https://www.dublincore.org/specifications/dublin-core/dcmi-terms/ |