angular-gettext icon indicating copy to clipboard operation
angular-gettext copied to clipboard

Angular's one-time binding issue

Open mosiruane123 opened this issue 10 years ago • 0 comments

Hi,

With the following use of the gettext translate filter, combined with Angular's one-time binding feature (::), the strings are not being translated.

{{ ::item.description | translate }}

They are being extracted as I have the variable 'description' in the .js file wrapped with the gettext() function. I also checked the .POT, .po and .json to make sure all translations are there and they are.

I was wondering does gettext support one-time binding? I saw some old post on here saying it will in later releases but that was a post from 2014.

I have version 2.3.8

Thanks guys!

mosiruane123 avatar Sep 26 '16 09:09 mosiruane123