Ms-Resource is a configurable microservice that will provide i18n type of data
It uses Excel as the source data and will do the conversion.
The request looks like
/{context}/{locale}
Context represents a set of excel sheets.
Configuration looks like
Default locale : en
Contexts:
- name: context name
. Sheets:
- file: excel file
. Sheet: sheet name
- name: another context
. File: excel file
. Sheet sheet name
The second is a short cut for more common usages where there is only one file and sheet
The data looks like
Key locale locale locale
The key is dot notation and each dot will be represented as a json path
The default locale will be used as a fall back when the resource was not found for a given locale.
If a locale does not have a value then the output of the value is (locale requested) + default locale value
If the default locale value is also missing then the output is
(locale requested) key name
Ms-Resource is a configurable microservice that will provide i18n type of data
It uses Excel as the source data and will do the conversion.
The request looks like
/{context}/{locale}
Context represents a set of excel sheets.
Configuration looks like
Default locale : en
Contexts:
. Sheets:
. Sheet: sheet name
. File: excel file
. Sheet sheet name
The second is a short cut for more common usages where there is only one file and sheet
The data looks like
Key locale locale locale
The key is dot notation and each dot will be represented as a json path
The default locale will be used as a fall back when the resource was not found for a given locale.
If a locale does not have a value then the output of the value is (locale requested) + default locale value
If the default locale value is also missing then the output is
(locale requested) key name