How to provision list view titles in multiple languages using Office Dev PnP Provisioning?

%3CLINGO-SUB%20id%3D%22lingo-sub-7352%22%20slang%3D%22en-US%22%3EHow%20to%20provision%20list%20view%20titles%20in%20multiple%20languages%20using%20Office%20Dev%20PnP%20Provisioning%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7352%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20provisioning%20our%20lists%20based%20on%20Office%20Dev%20PnP%20Provisioning%20as%20explained%20in%20the%20blog%20post%20%22%3CA%20href%3D%22http%3A%2F%2Fwww.erwinmcm.com%2Fmultilingual-provisioning-templates-with-the-office-365-developer-patterns-and-practices-provisioning-engine%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMultilingual%20Provisioning%20Templates%20with%20the%20Office%20365%20Developer%20Patterns%20and%20Practices%20Provisioning%20Engine%3C%2FA%3E%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe've%20managed%20to%20translate%20the%20list%20title%20and%20list%20columns%2C%20but%20the%20View%20titles%20don't%20gets%20localized%20(see%20both%20attachments%20for%20a%20comparison%20between%20two%20languages).%20How%20to%20make%20the%20view%20title%20shown%20in%20a%20localized%20language%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20summary%20which%20elements%20can%20be%20localized%3F%20e.g.%2C%20is%20localization%20supported%20for%20view%20titles%2C%20list%20description%2C%20content%20type%20names%2C%20current%20navigation%20(quick%20launch)%20items%2C%20global%20navigation%20(top%20navigation%20bar)%20and%20other%20SharePoint%20elements%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20672px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F2433iDABC31B01142587F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image_1aqrl47fil6l19hlml41g221t02d.png%22%20title%3D%22image_1aqrl47fil6l19hlml41g221t02d.png%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EList%20in%20English%20with%20incorrect%20view%20title%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20690px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F2432i1DAAB1CA23E7B20F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image_1aqrl60461lm61v73mnhd6t1troj.png%22%20title%3D%22image_1aqrl60461lm61v73mnhd6t1troj.png%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EList%20in%20Dutch%20with%20incorrect%20view%20title%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%3E%3CIMG%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%3E%3CIMG%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7382%22%20slang%3D%22en-US%22%3ERE%3A%20How%20to%20provision%20list%20view%20titles%20in%20multiple%20languages%20using%20Office%20Dev%20PnP%20Provisioning%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7382%22%20slang%3D%22en-US%22%3EThank%20you%20for%20the%20explanation%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F5670%22%20target%3D%22_blank%22%3E%40Bert%20Jansen%3C%2FA%3E%20%2C%20I've%20opened%20a%20UserVoice%20idea%20for%20this%20%40%20%3CA%20href%3D%22https%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F329220-sharepoint-dev-platform%2Fsuggestions%2F15817132-make-the-names-of-sharepoint-list-views-multilingu%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F329220-sharepoint-dev-platform%2Fsuggestions%2F15817132-make-the-names-of-sharepoint-list-views-multilingu%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7374%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20provision%20list%20view%20titles%20in%20multiple%20languages%20using%20Office%20Dev%20PnP%20Provisioning%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7374%22%20slang%3D%22en-US%22%3E%3CP%3EUnfortunately%20view%20titles%20are%20not%20translatable%20using%20resources.%20What%20we've%20done%20in%20the%20past%20is%20use%20JS%20to%20do%20this%20at%20the%20client%20(see%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FOfficeDev%2FPnP%2Ftree%2Fdev%2FSamples%2FCore.JavaScriptCustomization%23scenario-3-advanced-customizations%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FOfficeDev%2FPnP%2Ftree%2Fdev%2FSamples%2FCore.JavaScriptCustomization%23scenario-3-advanced-customizations%3C%2FA%3E).%20Now%20given%20that%20this%20model%20does%20not%20work%20anymore%20in%20the%20modern%20list%20UI%20this%20is%20not%20a%20recommended%20pattern%20anymore.%20Would%20suggest%20to%20raise%20this%20on%20uservoice.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

We are provisioning our lists based on Office Dev PnP Provisioning as explained in the blog post "Multilingual Provisioning Templates with the Office 365 Developer Patterns and Practices Provisionin...".

 

We've managed to translate the list title and list columns, but the View titles don't gets localized (see both attachments for a comparison between two languages). How to make the view title shown in a localized language?

 

Is there a summary which elements can be localized? e.g., is localization supported for view titles, list description, content type names, current navigation (quick launch) items, global navigation (top navigation bar) and other SharePoint elements?

 

List in English with incorrect view titleList in English with incorrect view titleList in Dutch with incorrect view titleList in Dutch with incorrect view title

2 Replies
Highlighted

Unfortunately view titles are not translatable using resources. What we've done in the past is use JS to do this at the client (see https://github.com/OfficeDev/PnP/tree/dev/Samples/Core.JavaScriptCustomization#scenario-3-advanced-c...). Now given that this model does not work anymore in the modern list UI this is not a recommended pattern anymore. Would suggest to raise this on uservoice.