[CLOSED] How to translate the labels to different laguages?

  1. #1

    [CLOSED] How to translate the labels to different laguages?

    Hi,

    I need to translate to different languages the labels for the grids and Forms.

    Cuould you please tell me if is it possible to do it with coolie controls?

    If so, could you please give an example about that?


    
    
    // Grid
    
    
    
    <ext:Column DataIndex="EXPIRATIONDATE" Width="120" Header="Expiration Date">
    
    
    <Renderer Fn="Ext.util.Format.dateRenderer('M/d/Y')" />
    
    
    <Editor>
    
    
    <ext:DateField ID="GRIDEXPIRATIONDATEField2" runat="server" 
    
    
    AllowBlank="false" Format="M/d/yyyy"/>
    
    
    </Editor>
    
    
    </ext:Column>
    
    
    
    
    // Form
    <ext:TextField ID="TextFIRSTNAMEField" runat="server" 
    
    
    AnchorHorizontal="95%" FieldLabel="First Name"
    
    
    AllowBlank="false">
    
    
    </ext:TextField>
  2. #2

    RE: [CLOSED] How to translate the labels to different laguages?

    Have you considered using resource files and writing some code to translate your controls on output? There are numerous documents on the Internet to use resx files and translate form controls.

    The only multi-lingual support for the Coolite and ExtJS controls are the language packs that define the wording for the controls like the date and so forth.


    Cheers,
    Timothy
  3. #3

    RE: [CLOSED] How to translate the labels to different laguages?

    For local resources files I need to set the meta property in .net, is there any way to do the same in coolie controls?

    
          <asp:Button ID="Button1" runat="server" 
                Text="Set Language" 
                meta:resourcekey="Button1" />
  4. #4

    RE: [CLOSED] How to translate the labels to different laguages?

    Geoffrey McGill
    Founder
  5. #5

    RE: [CLOSED] How to translate the labels to different laguages?



    I saw the article http://forums.ext.net/showthread.php...7282-16-1.aspx about using local resources for the label controls, but it does not have any example about how to use local resources for Grid Headers and for the FieldLabel property of TextField control for example.

    Could you please give me an example that clarifies this concept?

    Thanks,




Similar Threads

  1. How to translate data to another at load??
    By nysyzp in forum 1.x Help
    Replies: 6
    Last Post: Dec 28, 2011, 12:42 AM
  2. [CLOSED] Translate password confirmation message
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 03, 2010, 6:11 PM
  3. [CLOSED] [1.0] Notes on Labels
    By danielg in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 19, 2010, 10:48 AM
  4. Editable Labels
    By KCoder in forum 1.x Help
    Replies: 6
    Last Post: Feb 15, 2010, 7:18 AM
  5. [CLOSED] dynamic labels
    By alexp in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 10, 2009, 2:53 PM

Posting Permissions