I'm adding a bunch of web parts to a page using a module like this:

    <AllUsersWebPart WebPartZoneID="TopLeftRow" WebPartOrder="1">
          <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
              <type name="SiteDef.MyTasks_wp.MyTasks_wp, SiteDef, Version=, Culture=neutral, PublicKeyToken=fppbar" />
              <importErrorMessage>Cannot import this Web Part.</importErrorMessage>
                <property name="Title" type="string">$Resources:Resources,MyTasks</property>

I've deployed my resource file as a provisioning resource since runtime resources seem to have no effect. The localization works after provisioning but if I switch language the original localization is persisted.

Is there a way to localize a web part's title so that it adapts to the end user's language preferences?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.