Tag Info

Hot answers tagged

6

Yes, take a look into the file C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Resources\core.resx The format is : $Resources:name_of_resource_file, key_of_ressource A warning thought, this will concerns the resources you will find in all xml files, or in code. In aspx markup, the resources will be read from ...


3

RegisterSod doesn't fetch the script file. You must load it. Use LoadSodByKey, or use the plain tag to load it synchronously. I wrote a blog post about how to use javascript localizaton in SharePoint and scriptresx.ashx . Waldek Mastykarz shows how to use it with RegisterSod. But you have to know, that the script won't be downloaded before you explicitly ...


2

You mean like this? using (SPSite site = new SPSite("http://localhost")) { using (SPWeb web = site.RootWeb) { if (web.IsMultilingual) { IEnumerable<CultureInfo> cultures = web.SupportedUICultures; foreach (CultureInfo culture in cultures) ...


1

Localization of feature.xml differs from localizing something else. As by Microsoft's reference, you have to create a special Feature resource file (which will be stored along with the feature) in order to do that: How to: Localize a feature (MSDN) Based on my experience, if you deploy your resources into "Resources" mapped folder (in 14 hive), they will ...


1

are you using embedded resources and accessing them in Sandbox solution likely? See more details: http://blog.sharepointbits.com/2011/03/localization-in-sharepoint-2010-sandbox.html



Only top voted, non community-wiki answers of a minimum length are eligible