Does Angular translation in widgets support passing a variable to the mesage in the mesage.properties file?

i18n
angular
Tags: #<Tag:0x00007f73f5fb4698> #<Tag:0x00007f73f5fb44b8>
(Moses Mutesasira) #1

When reading a mesage from the mesages.properties file using the UI framework ,it supports passing variables ie.

msg=messages {0}

and then pass the variable like

ui.message("msg", var)

is that also supported in angular Translation??

{ 'msg' | translate }
?? I need to know how it is done.

cc @dkayiwa @ssmusoke

(Dimitri R) #2

I once did this in Angular:

That was a long time ago, but anyway the bottom line is this use of emr.loadMessages(..).

1 Like
(Moses Mutesasira) #3

thanks @mksd. let me try it out also

(Moses Mutesasira) #4

it was a good option. thanks @mksd