Embed localization strings
Hello
I have module with contact form.
Labels and other messages are translated using Resource class which extends Telerik.Sitefinity.Localization.Resource.
Ok, that's working.
Next I want to embed those strings in various languages, but it only allows me to save invariant language into resource class, like:
[ResourceEntry(
"Name"
, Value =
"Name"
, Description =
"phrase: Name"
, LastModified =
"07/20/2012"
)]
public
string
Name
get
return
this
[
"Name"
];
Hi Mitja,
Unfortunately the functionality you request is not possible. In order to create different cultures for your localization you need to make new resource files in which the ISO language codes are part of the file name (for example, nl - Dutch, fr - French). This is by design of Microsoft's ASP.NET convention. For more information visit MSDN. Omitting the language extension will result in the default language, which is English in Sitefinity.
Regards,