I found a few option on how to localize or provide a localized site column.
- PnP templates with resource files will provide the fields in the language but will not localize it when the site language is changed. At least this is the behavior I am getting. You can provide the column and the translation values, but the column title will be translated.
- TitleResource. I tried to set with JSOM but did not seemed to work.
- Manually switching the site language setting the Title of the column for each language you want to support. ref: https://manueltgomes.com/microsoft/translate-your-list-column-names/
So, so far the option 3 works well. But I need to make this process automatic. Anyone aware how to to this with scripting provisioning in mind?
And why I am not able to use the method setValueForUICulture to update the TitleResource? This does not seem to work anymore.