Try our conversational search powered by Generative AI!

Find pages that needs to be translated

Vote:
 

Hi!

Are there an easy way to find all pages (or products in Commerce) that needs to be translated?
We are having automated imports for one language and it would be nice to get a list of all pages/products that are new and needs to be translated.

Thanks!

/Kristoffer

#147325
Apr 12, 2016 9:29
Vote:
 

How would you like the list, and how often would you need it?

One way would be to just hook up on an event when a new page is created, and add the page to your list. See this post on how to hook up to the event.

If you need all pages it will be slower, but you could use IContentRepository.GetItems with your wanted language and check which ones were returned with the fallback master language. See this code for getting pages with a fallback and filtering it.

#148361
Edited, May 11, 2016 10:25
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.