Thanks for the clarifications. We will adhere to the new standard.

On Mon, Mar 20, 2017 at 3:38 PM, Manuranga Perera <[email protected]> wrote:

> Adding to what Sajith said,
> Earlier we put the *same string* as the key, now we use *a description of
> where it's getting used* as the key, which align with our java practice.
>
> see:
> https://github.com/wso2/product-is/blob/master/portal/
> apps/org.wso2.carbon.iam.user-portal.app/src/main/lang/en_US.properties
>
> On Mon, Mar 20, 2017 at 9:51 AM, SajithAR Ariyarathna <[email protected]>
> wrote:
>
>> UUF i18n property files are Java '.properties' files. So, if you want to
>> have spaces in keys, then you need to escape them with backslashes (\).
>> Please refer SO answer [1] for more info.
>>
>> [1] http://stackoverflow.com/a/11839219/1577286
>>
>> On Mon, Mar 20, 2017 at 2:39 PM, Anuruddha Liyanarachchi <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> In UUF we are unable to declare keys with spaces in the i18n property
>>> files. This was supported in jaggery framework.
>>>
>>> If this is supported we can use the key as the default value if a value
>>> is not declared in the property file.
>>>
>>> Can we get this implemented?
>>>
>>> e.g :-
>>> created the API=created the API
>>>
>>> {{i18n "created the API"}}
>>>
>>>
>>> --
>>> *Thanks and Regards,*
>>> Anuruddha Lanka Liyanarachchi
>>> Software Engineer - WSO2
>>> Mobile : +94 (0) 712762611
>>> Tel      : +94 112 145 345
>>> a <[email protected]>[email protected]
>>>
>>
>>
>>
>> --
>> Sajith Janaprasad Ariyarathna
>> Software Engineer; WSO2, Inc.;  http://wso2.com/
>> <https://wso2.com/signature>
>>
>
>
>
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : [email protected]
>



-- 
*Thanks and Regards,*
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile : +94 (0) 712762611
Tel      : +94 112 145 345
a <[email protected]>[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to