Skip to content

let getLocalizedPath on the i18n service return a promise.#96

Open
luxzeitlos wants to merge 3 commits intoDavyJonesLocker:masterfrom
luxzeitlos:master
Open

let getLocalizedPath on the i18n service return a promise.#96
luxzeitlos wants to merge 3 commits intoDavyJonesLocker:masterfrom
luxzeitlos:master

Conversation

@luxzeitlos
Copy link
Copy Markdown

The Idea is that the service can lazy load the translations from a backend, and then resolve then Promise.

@bcardarella
Copy link
Copy Markdown
Contributor

@luxferresum failing travis

@luxzeitlos
Copy link
Copy Markdown
Author

fixed. We still have the problem that if when u use the feature of returning a promise in getLocalizedPath then u will also get a promise when using the t util in code. There is just no way around this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants