An i18n backend to fetch translation files from the server.
The following options are supported:
httpClient <HttpClient> - Must be a http client instance from the "@aurelia/fetch-client" package.
path? <(language: string) => string> - Optional. A function for computing the path for translation files. The default uses paths like "/<language>/translation.json".
An i18n backend to fetch translation files from the server.
The following options are supported:
<HttpClient>- Must be a http client instance from the "@aurelia/fetch-client" package.<(language: string) => string>- Optional. A function for computing the path for translation files. The default uses paths like"/<language>/translation.json".