Hi Ruwan,

You can refer the sample that is with carbon-uuf [1]
Inside [2] you'll find file called en_US.properties. This is the property
file which you can use to store keys and values of keywords or messages
which written in English.
You can put key values pairs as below.

<Key>:<Value>
*Ex:- pets-store.all=See all our amazing pets*

When you need to refer these values inside a .hbs you can use the following
handlebar helper.

*{{t "<Key>"}}*
*Ex:-  {{t "pets-store.all”}}*


[1] https://github.com/wso2/carbon-uuf/tree/master/samples
<https://github.com/wso2/carbon-uuf/tree/master/samples>
[2] 
https://github.com/wso2/carbon-uuf/blob/master/samples/apps/org.wso2.carbon.uuf.sample.pets-store/src/main/lang/en_US.properties
<https://github.com/wso2/carbon-uuf/blob/master/samples/apps/org.wso2.carbon.uuf.sample.pets-store/src/main/lang/en_US.properties>

Hope this helps.
Regards,

On Thu, Nov 3, 2016 at 5:47 PM, Ruwan Abeykoon <ruw...@wso2.com> wrote:

> Hi Devs,
> What is the recommended way for $subject
>
> Cheers,
> Ruwan
>
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thusitha Kalugamage
*Software Engineer*
Mobile : +94 (0) 774 074370
Tel       : +94 (0) 112 145 345
thusi...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to