We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





129624 Mar 26,2017 08:38 AM UTC Jan 10,2018 01:34 PM UTC ASP.NET Core 4
Tags: Grid
George Rossopoulos
Asked On March 26, 2017 08:38 AM UTC


how can I set header text with Localizer?
This does not work

Thank you


@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@model IEnumerable<salesManager.Models.SalesMen.tbl_customers>
<ej-grid id="gridCustomers" allow-sorting=true allow-filtering=true allow-text-wrap=true datasource=@Model allow-scrolling="true" allow-paging=true>
    <e-filter-settings filter-type=Menu></e-filter-settings>
        <e-column field="n_id" header-text="ID" is-primary-key="true" is-identity="true" visible="false"></e-column>       
        <e-column field="v_kvdikos_extern" header-text=@Localizer["Κωδικός"] ></e-column>

Saravanan Arunachalam [Syncfusion]
Replied On March 30, 2017 12:17 PM UTC

 Hi George, 
Thanks for contacting Syncfusion’s support. 
Could you please provide the following details? 
1.       To localize the headertext to which language? 
2.       What are all the culture you have register in startup.cs? 
3.       Do you have RC1 or RC2 update? 
4.       Do you have registered translating text in resource file? 
5.       Share the simple sample with the specified requirment. 
It will be great helpful for us to analyze about the issue and provide you a response as early as possible. 
Saravanan A. 

George Rossopoulos
Replied On April 6, 2017 02:33 PM UTC


thank you for the response. There is no need for further details. Just do it and you will see that all the headers are replaced by something like Miscorosft.something,something
( I cannot recall now what exactly)

Thank you


Stefano Capobianco
Replied On January 9, 2018 04:46 PM UTC

You need to use header-text="@Localizer["Κωδικός"].value"

For me this work very well


Renjith Singh Rajendran [Syncfusion]
Replied On January 10, 2018 01:34 PM UTC

Hi Stefano, 

We are glad to hear that you have found a solution for your problem. 

Please get back to us if you need further assistance.  

Renjith Singh Rajendran. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon