Jump to content

URL type field and multilingualism


Spiria
 Share

Recommended Posts

Bonjour,

It seems to me that it was possible to put in a field of type URL a relative address and that this one adapts according to the language. For example :

in the URL field:

/somethingInEnglish

but in French it would be:

/somethingInFrench

I would have seen something like /page:1501... Is this possible?

 

Link to comment
Share on other sites

If your URLs are within the PW site (and it sounds as if they are), then a Page Reference field is probably the best option – as it would be for a single-language site too!

But if you do need multi-language URL fields for some reason, you could have two URL fields set up as language-alternate fields, as described at https://processwire.com/docs/multi-language-support/multi-language-fields/#language-alternate-fields

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...