Expand Minimize

Localization

Localization is the process of customizing an application, webpage, or website for a given culture or locale. The localization rules check if all attributes in XML which support localization are localized in a proper way.

Intention

Support localization of solutions. If used ensures that all attributes are localized and a translation is available.

Limitations

The analyzer can only check correct localization in XML files with Resources. It cannot check if localization is correctly used in code, e.g. by loading translations in a webpart.

Index

Rule Description Type Severity
SPC070001: Use resources for localizable attributes All localizable attributes of SharePoint artifacts like ContentType, Feature etc. should use resources. LocalizableProperty Warning
SPC070002: Move resource key of ElementManifest to Feature resources Localized attributes in ElementManifests (like ContentType) should use resources in the parent Feature, not in a RootFile (like '15\Resources\ResourceFile.resx'). LocalizableProperty Warning
SPC076401: Localize property 'Title' and 'Description' in WebPart Properties 'Title' and 'Description' in WebParts should be localized with .resx file. WebPart Warning
Disclaimer: The views and opinions expressed in this documentation and in SPCAF do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. SPCAF and RENCORE are registered trademarks of Rencore. All other trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners.