microsoft-search / pnp-modern-search

Home of PnP Modern Search solutions, helping you move from classic to modern SharePoint and beyond
https://microsoft-search.github.io/pnp-modern-search
Other
377 stars 328 forks source link

Modern PNP webpart Filter pages by language #3833

Open ValiPrk opened 4 days ago

ValiPrk commented 4 days ago

Hello,

I'm trying to filter some news pages by language when using the "SPTranslationLanguage" property, but translation is enabled and for the default language, the column is not filled-in with values, for the rest of the translated pages the values are set correctly, is there any way to overcome this? Is there any other property that we can use?

Thank you very much for your help!

kasperbolarsen commented 2 days ago

In relation to the SharePoint Premium document translation service, I have asked the Microsoft product team the same question. While we wait for that change ( if it is approved ), I am afraid the only solution I can think off will require you make a workaround where a timer or event triggered job update a column on the new item :-(

ValiPrk commented 2 days ago

Do you have an article on how can I do that? From what I know that is an automatically generated column. Thank you very much for your help!

ValiPrk commented 2 days ago

The "Item language" column is automatically generated and it is filled-in with the value of the name of the folder. Item language