Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client wishes to add American and Australian English to their site, which are not available by default in WPML's language options.
Solution:
We recommend manually adding these language variations to WPML. To do this, please follow the step-by-step guide on how to add a custom language:

If this solution does not apply to your situation because it might be outdated or not relevant to your case, we suggest opening a new support ticket. We also highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins.

If you need further assistance, please do not hesitate to contact us in the WPML support forum.

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.

This topic contains 2 replies, has 2 voices.

Last updated by eamonnT 7 months, 2 weeks ago.

Assisted by: Prosenjit Barman.

Author Posts
April 2, 2024 at 2:30 am #15471013

eamonnT

Hi

My default Lang is UK English, but I wish to add American and Australian English, but I can not see how to achieve this

April 2, 2024 at 11:03 am #15472302

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thanks for contacting WPML Support.

I understand what you're looking for. The languages you've mentioned are variations of English language and they are not listed in WPML's default language selection. If you want to translate and display content into these specific variations, you will need to manually add the languages into WPML.

To understand how you can add a custom language, please check this guide: https://wpml.org/documentation/getting-started-guide/language-setup/editing-wpmls-languages-table/

I hope it will help in achieving what you're looking for. Please feel free to let me know if there is anything else you need help with. I will be happy to assist.

Best regards,
Prosenjit

April 5, 2024 at 10:26 am #15487323

eamonnT

Hi

The developer made changes as in documentation but still same

<?php echo '<' . $form_setting['1st_title_tag'] . ' class="form_subtitle" style="font-size:' . $form_setting['1st_title_font_size'] . 'px !important; line-height:' . $form_setting['1st_title_font_size'] . 'px !important;">' . __($form_setting['1st_title_text'], 'twentyten') . '</' . $form_setting['1st_title_tag'] . '>'; ?>

<?php echo '<' . $form_setting['2nd_title_tag'] . ' class="form_title" style="font-size:' . $form_setting['2nd_title_font_size'] . 'px !important; line-height:' . $form_setting['2nd_title_font_size'] . 'px !important;">' . __($form_setting['2nd_title_text'], 'twentyten') . '</' . $form_setting['2nd_title_tag'] . '>'; ?>
</div>
<div class="form_outer">
<div >
<?php if(isset($args['id'])){
$default_country = get_field('destination_pickup_country', $args['id']);
$default_pickup = get_field('destination_pickup_location', $args['id']);
$default_dropoff = get_field('destination_dropoff_location', $args['id']); ?>

<input type="hidden" name="destination_pickup_country" value="<?php echo $default_country ?>"/>
<input type="hidden" name="destination_pickup_location" value="<?php echo $default_pickup ?>"/>
<input type="hidden" name="destination_dropoff_location" value="<?php echo $default_dropoff ?>"/>
<?php } ?>
</div>
<form name="searchform" action="hidden link" method="POST" target="_top" novalidate>
<div class="form_row">
<div class="form_col_inner">
<label for="pickup_country">Country</label>
<select
id="pickup_country"
class="select2maker"
style="width: 100%"
name="pickup_country"