Home›Support›English Support›[Waiting for user confirmation] Hello. I would like to change "domain.com/?lang=en" to... "domain.com/?culture=en"
[Waiting for user confirmation] Hello. I would like to change "domain.com/?lang=en" to... "domain.com/?culture=en"
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.
WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Background of the issue:
I am working on a site under development and my company is doing some custom work. We need to change the URL parameter from "domain.com/?lang=en" to "domain.com/?culture=en".
Symptoms:
I have searched on Google but have NOT found something.
Questions:
How can I change the URL parameter from ?lang to ?culture using WPML?
I understand this (what you have mentioned), but I would appreciate it if you could tell me what parts I can modify to change this.
I am sure that if I alter some specific part this will change the path.
I cannot recommend any part of the code for direct changes, as it can lead to safety issues and unexpected problems. Unfortunately, we cannot provide support for this.