PDA

View Full Version : [CLOSED] Password validation not localized



RCN
Feb 16, 2015, 11:16 PM
On the following example, password validation is not localized (ResourceManager's Locale is set to pt).

21291

Thanks in advance.



<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
</head>
<body>
<ext:ResourceManager runat="server" Locale="pt" ScriptMode="Debug" />
<ext:FormPanel ID="_frm" Width="200" Height="200" Layout="AnchorLayout" DefaultAnchor="100%" BodyPadding="5" runat="server">
<FieldDefaults MsgTarget="Side" />
<Items>
<ext:TextField ID="_pwd" Icon="Lock" InputType="Password" AllowBlank="false" EmptyText="Senha" runat="server" />
<ext:TextField Icon="LockKey" Vtype="password" InputType="Password" EmptyText="Confirme a Senha" runat="server">
<CustomConfig>
<ext:ConfigItem Name="initialPassField" Value="_pwd" Mode="Value" />
</CustomConfig>
</ext:TextField>
</Items>
</ext:FormPanel>
</body>
</html>

Daniil
Feb 17, 2015, 1:15 PM
Hi Raphael,

Unfortunately, we are not quite able to localize the things. Vtype="password" is defined in Ext.NET, not in ExtJS. It is why that is not localized and, I guess, won't be localized.

Please let us know if you need any assistance on localizing it.

RCN
Feb 17, 2015, 6:08 PM
Please let us know if you need any assistance on localizing it.

No, that's ok.

Please mark this thread as closed.