Mar312009
Published by Nicolas at 10:01 AM under SharePoint 2007
Let's say you want to access each Variation Label of your Site Collection. A good way to do it should be:
string resxString = SPUtility.GetLocalizedString("$Resources:cmscore,Settings_Publishing_VariationLabels;",null, SPContext.Current.Web.Language);SPList variationLabelsList = rootWeb.Lists[resxString];
Where the resource key of the cmscore.xx-XX.resx represents the local name of the variation labels list in your Site Collection.
Simple isn't it? NO! Indeed, it isn't.
What we experienced on one of our project is that the value of the resource key "Settings_Publishing_VariationLabels" was wrong in the french cmscore resx file (cmscore.fr-FR.resx). The value in the file was Étiquettes de variante but the name of the list created when the site collection has been created was "Étiquettes de variantes"
Just update the french cmscore resx file will be solved this problem.
Tags: sharepoint 2007
E-mail | Permalink | Trackback | Post RSS 0 Responses
Related posts
Comments
Add comment