Developer forum

Forum » Dynamicweb 10 » Assets - language specific versions of documents

Assets - language specific versions of documents

Michael Knudsen
Reply

We have the option to manually add language specific versions of assets, but I like to write a language specific 'search pattern' on the asset category in the 'auto checkin' section, so the 'danish' versions would be added to the danish language layer etc., but there is no language option on the asset category.

How can I then achieve this?

Br. Michael Knudsen


Replies

 
Jimmy Hartington
Jimmy Hartington
Reply

Nobody answered Michaels post, so I am trying to kickstart it again since I have the same request from a customer.

In this thread it was discussed in 2022 as a feature soon coming.
https://doc.dynamicweb.com/forum/pim/pim/asset-checkin-different-patterns-on-language-layers

Is it something still on the roadmap or how have other solved this?

 
Michael Knudsen
Reply

Hello Jimmy,

- I have found an e-mail from Søren Jensen about this and it's implemented in DW10, where you can use the {ProductLanguageId} in the pattern. However, the implementation is not very useful, because nobody are naming there documents after the language id (ex. DAN, DEU or LANG1, LANG2).

But if the customer is happy to rename there documents, you will be able to write a pattern like: {ProductNumber}_{ProductLanguageId} and it will assign the documents to the correct language layer.

Ex.


Br. Michael Knudsen

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

You can use ProductCountryCode which is the two-letter ISO country code, e.g. "US" or "DA"

Documentation is recently updated with examples etc.

https://doc.dynamicweb.dev/manual/dynamicweb10/settings/system/system/scheduledtaskaddins/digital-assets-checkin.html#pattern-tokens

Votes for this answer: 1
 
Michael Knudsen
Reply

Thanks for the update Nicolai!

 

You must be logged in to post in the forum