Use Litium Suggestion API for new languages

We are extending our site to new languages, and would like suggested URLs for all new languages as we currently are for the base language. Both for product variants and CMS pages.

We are using the default suggestions like

"En bild på Nils 😢" ==> "en-bild-pa-nils"

The Litium PIM app suggests URLs using the Suggestion API:

/Litium/app/api/common/Suggestion

Is there a way to access/use/steal this existing suggestion mechanism to automatically generate suggested URLs for the new languages?

Or is there a way to “trigger” the suggestions automatically by saving all variants or doing an excel import or something else? Anything that generates suggested URLs for all languages would work.

There’s a related topic here, but not for actually generating suggestions: Excel import suggest url - Questions - Litium Forum

Litium version: 7.6.2

We ended up using the SlugService for this. Not sure it’s what the Suggestion web API uses, but the SuggestionService was marked obsolete. Produces the same results as the PIM app.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.