Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(service): allow empty default language string #972

Merged
merged 1 commit into from Feb 5, 2020

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.

None yet

2 participants