This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Riffaz 7 months, 2 weeks ago.

Assigned support staff: Riffaz.

Author Posts
March 4, 2019 at 6:48 pm #3270400

jasonF-6

Tell us what you are trying to do?
We have a script for a form that we run on our page that depends on a URL parameter of "language" instead of "lang" if it is to automatically switch its language. We watch to customize WPML to add "?language=de" for a German page instead of "?lang=de". Or, if it could display "?lang=de&language=de" , that would work as well.

Is there any documentation that you are following?
No.

Is there a similar example that we can see?
No.

What is the link to your site?
It is not public facing at this time. hidden link

March 5, 2019 at 5:46 am #3271756

Riffaz
Supporter

Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

Thank you for contacting WPML support.

language parameter is required by WPML as the formats you can choose in WPML > Languages > 'Language URL format' to function as intended.
So technically what you asking is not possible for now.

The language URL formats : https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/

Regards,
Riffaz.