[CLOSED] Multilingual through Resource files

  1. #1

    [CLOSED] Multilingual through Resource files

    Hi,
    I am using MVC with ext.net , I want Multilingual support and '<% %>' gives error, lets take a look at the following code.

    <ext:Checkbox ID="chkBoxConfirmationMessage" FieldLabel="Show Confirmation Message on Close Request" runat="server">
    </ext:Checkbox>
    I want 'FieldLable' on the basis of Browser Language(different text for different Languange specified in Resouce Files) what will I do in case of MVC

    Thanks,
    Jesper
    Last edited by Daniil; May 18, 2012 at 4:45 PM. Reason: [CLOSED]
  2. #2
    Hi,

    I think it should work.
    http://adamyan.blogspot.com/2010/02/...-complete.html

    Please demonstrate how do you try?
  3. #3
    Hi Daniil,
    Its not an issue when I use standard HTML Helpers, From your given example can I use ext.net controls like these Html.ActionLink

    
    <%= Html.ActionLink("eng", "ChangeCulture", "Account",    new { lang = (int)MvcLocalization.Helpers.Culture.en, returnUrl =      this.Request.RawUrl }, new { @class = "culture-link" })%><%= Html.ActionLink("рус", "ChangeCulture", "Account",    new { lang = (int)MvcLocalization.Helpers.Culture.ru, returnUrl =     this.Request.RawUrl }, new { @class = "culture-link" })%>
    Thanks,
    Jesper
  4. #4
    I'm not sure how it's related to the initial question about FieldLabel localization. The standard ASP.NET localization mechanism should work for FieldLabel of Ext.NET controls in ASP.NET MVC application.

Similar Threads

  1. ext.asd resource not found
    By rkchak in forum 1.x Help
    Replies: 2
    Last Post: Mar 26, 2012, 6:19 PM
  2. [CLOSED] What is the Resource Manager and how do I use it?
    By jwf in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 29, 2011, 6:46 PM
  3. How do you add a resource item
    By craig2005 in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Feb 09, 2011, 6:44 PM
  4. Icon resource
    By Yannis in forum 1.x Help
    Replies: 1
    Last Post: Jun 22, 2010, 4:02 AM
  5. [CLOSED] Resource handler error
    By armadalabs in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Feb 24, 2010, 4:26 PM

Posting Permissions