Jump to content

Multi Lingual Downloads


bbeer
 Share

Recommended Posts

Hi all

I wonder on how to handle best multi lingual downloads. FieldType File has Multi Lingual descriptions for one and the same file.

Maybe it would be a good idea to have a real FieldType File, where per language files could be uploaded.

Thanks for your advice

  • Like 1
Link to comment
Share on other sites

You can use language alternate fields in this case.

Let's say your primary file field is called "files" (which will serve the default language) then you just create one field per language (files_lang) for example

files_de

files_fr

files_be

and so on.

As described in the docs https://processwire.com/api/multi-language-support/multi-language-fields/#language-alternate-fields

Link to comment
Share on other sites

Thanks Can

this solution I knew. Seems that this is the only way to go about. I was hoping for a more user friendly solution. Maybe that would really be something to look at in future, that FieldType Files would be as the other MultiLingual fields.

Thanks again.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...