Localization
28 Jun 2017 / 1 minute to read
The Tile component provides option to localize its strings, it is used to adapting the Tile to a particular local language. By default, the Tile will use the US English (en-US) as its language.
NOTE
The culture name has to be specified in a standard format such as [Language Code]-[County/Region Code].
To localize the Tile strings with your own localization, copy the default language informations and localize the strings in the values column. For example, to localize the Tile in Italian language (“it-IT”).
ej.Tile.Locale["it-IT"] = {
captionText: "testo"
};
Set the locale property of the Tile to the new language.
<div id="tile" ej-tile e-tilesize="medium" e-imageposition="center" e-imageurl='http://js.syncfusion.com/ug/web/content/tile/camera.png' e-caption="caption" e-locale="it-IT">
</div>
angular.module('TileApp', ['ejangular'])
.controller('TileCtrl', function ($scope, $document) {
$scope.caption = { enabled: true };
});
ej.Tile.Locale["it-IT"] = {
captionText: "testo"
};
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page