← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 541788] [NEW] Testing for Date formatted text field validation working not well formed - Data entry

 

Hi Viet,

I do agree with Quang's idea.
It'll be better, reliability, and flexibility if re-use i18n object in
presentation layer.

How do you think Viet?

On Mon, Mar 22, 2010 at 9:15 PM, Quang Nguyen <quangnguyen111@xxxxxxxxx>wrote:

>
>
> On Mon, Mar 22, 2010 at 8:24 PM, Viet Nguyen <phamquocviet@xxxxxxxxx>wrote:
>
>>
>>
>> On Mon, Mar 22, 2010 at 10:42 AM, Hieu Dang Duy <
>> hieu.hispvietnam@xxxxxxxxx> wrote:
>>
>>> Hi Viet,
>>>
>>> Many thanks for working hardly on this bug. It runs fine ! But there is
>>> still English in hard-code.
>>>
>>> P.S: The key-up event is well-done in English setting only.
>>> --
>>> Hieu.HISPVietnam
>>> Good Health !
>>>
>>
>> Hi Hieu,
>>
>> Could you please take a look at this file :
>>
>>
>> dhis-web-commons-resources/dhis-web-commons/util/validate/message_locale.js
>>
>> You can see all the messages in English.
>>
>> So if you want Vietnamese messages, you have to create a  javascript array
>> of messages in Vietnamese. Just follow the format of the English one.
>>
>>
> Is it possible to put these in i18n module? It's better to have all i18n
> messages in one place.
>
> Cheers,
> Quang
>
>
>> Regards,
>>
>> --
>> Viet Nguyen
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>


-- 
Hieu.HISPVietnam
Good Health !

Follow ups

References