Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Translate cloak class not removed when using translate-cloak directive #1705

Closed
laurent-bettin opened this issue Mar 3, 2017 · 1 comment
Labels
Milestone

Comments

@laurent-bettin
Copy link

laurent-bettin commented Mar 3, 2017

Hi,

When using translate-cloak directive <any translate-cloak> the .translate-cloak class is not applied, in other case when using <any translate-cloak="key"> the .translate-cloak is not removed.
I provide a plunker to illustrate, am I doing something wrong ?

Thanks

Your environment

angular-translate 2.15.0
angular 1.5.3

Steps to reproduce

http://plnkr.co/edit/UwGYhf2O1opdkZwuuORf?p=preview

knalli added a commit that referenced this issue Mar 4, 2017
@knalli knalli added the bug label Mar 4, 2017
@knalli
Copy link
Member

knalli commented Mar 4, 2017

Hi.

Yes, that's a bug. You should use $translateProvider.use('en') in the config phase in order to let translate the correct language much more earlier than in run(), but the cloak issue is a bug.

Fixed in 2.15.1 coming im some seconds.

@knalli knalli closed this as completed Mar 4, 2017
@knalli knalli added this to the 2.15.1 milestone Mar 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants