KEMBAR78
feat(service): allow empty default language string by JuleSch · Pull Request #972 · ngx-translate/core · GitHub
Skip to content

Conversation

@JuleSch
Copy link
Contributor

@JuleSch JuleSch commented Dec 13, 2018

An empty string is now also allowed as default language.
It checks if the default language is null.
The check for 'undefined' is implied because of the use of == instead of ===.

An empty string is now also allowed as default language.
It checks if the default language is null. 
The check for 'undefined' is implied because of the use of == instead of ===.
@JuleSch
Copy link
Contributor Author

JuleSch commented Jan 17, 2019

Hello,
is there something wrong with the execution or have I forgotten something else?
Otherwise our app will not be able to do the translations. :-/

@ocombe ocombe changed the title issue #971 handling empty default language string feat(service): allow empty default language string Feb 5, 2020
@ocombe ocombe merged commit 94bdc0d into ngx-translate:master Feb 5, 2020
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