Files (Multilingual)

Last Updated: May 18, 2020
documentation for the dotCMS Content Management System

Files created using a File or dotAsset Content Type can be created in any language, just as with regular content. For each file, you can have a separate version for each Language defined.

However, since file names can be changed, the path to the non-default language version of each file includes the suffix of a language parameter to help trigger the display of the correct version of the file, as shown in the examples below:

Primary Language Version


Secondary Language Version {


Copying File Content to a New Language

Each time you create a version of content in a new Language, you'll be prompted to choose if you want to populate the content from the existing Default Language content to the content in the new Language. To preserve the placement of links, images, files and other references in the file, choose Yes. You can still choose to replace the file in the new Language version, once created.

Examples

/Guardians.jpg
/Guardians.jpg?language_id=2

On this page