Skip to content

intl / l10n / number formatting #21

@rotdrop

Description

@rotdrop

Is there any support for number locales different from EN/US? I know I can tell OpenTBS with e.g. ope=tbs:percent (or curr, etc.) that field is numeric. However, the number itself does not seem to be converted to the documents language.

Maybe related: if I format a cell in the template as percentage, the value will be displayed as zero after merging. In the XML I find something like this:

<table:table-cell table:style-name="Tabelle3.F3" office:value-type="percentage" office:value="0">
  <text:p text:style-name="P11">
    0.0068
  </text:p>
</table:table-cell>

So it seems that LibreOffice remembers the invalid number from the template, resulting from the TBS template field in square brackets. Also, if using e.g. German then we have a comma as decimal separator and a point to separate thousands, e.g. US 1,000.56 is 1.000,56 in German and a couple of other languages.

Is there any experience with OpenTBS in the context of non-US English?

Kind thanks for any hints!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions