From 1cd31101036559e6a02c10ee2e6e60f283f925c7 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Mon, 2 Mar 2020 17:34:13 -0300 Subject: Move to better backwards-compatible i18n format for contract terms --- taler-merchant-pos-terminal.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'taler-merchant-pos-terminal.rst') diff --git a/taler-merchant-pos-terminal.rst b/taler-merchant-pos-terminal.rst index 02cb64b7..b606461a 100644 --- a/taler-merchant-pos-terminal.rst +++ b/taler-merchant-pos-terminal.rst @@ -126,6 +126,9 @@ The elements of the JSON file are defined as follows: // The name of the category. This will be shown to users and used in the order summary. name: string; + + // Map from IETF BCP 47 language tags to localized names + name_i18n?: { [lang_tag: string]: string }; } @@ -139,6 +142,9 @@ The elements of the JSON file are defined as follows: // that will be shown to the user and used in contract terms description: string; + // Map from IETF BCP 47 language tags to localized descriptions + description_i18n?: { [lang_tag: string]: string }; + // The price of the product price: Amount; -- cgit v1.2.3