On the backend, Amelia is translated automatically on language what is set in WordPress. As for the front what language is set for that page locale Amelia will be translated to that language.
so i have backend in dutch, frontend amelia normally also showing in dutch so i am adding a additional reservartion page that i want to show in english
function yst_wpseo_change_og_locale( $locale ) { return 'en_us'; } but it doesnt work, still seeying it in dutch
how can i set the frontend page local so that it shows in english? and by the way what locale works for amelia for english is it "en" "en_US" "en_GB" or does any of these work?
Once you create a page with this page locale Amelia should be translated automatically to that language just make sure that you set EN settings same as on page and in Amelia. So if you use EN_US you need to add EN_US in Amelia also.
Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.
what determines the language step booking form is shown in?
i have it in dutch and english but as far as i can tell always dutch is shown
should it switch dependand on browser locale?
can the language be forced, for example by parameter, or by wordpress page options?
regards Alexander
Hello Alexander,
Thank you for reaching out to us.
On the backend, Amelia is translated automatically on language what is set in WordPress. As for the front what language is set for that page locale Amelia will be translated to that language.
Best regards.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Marko
thanks for that information
so i have backend in dutch, frontend amelia normally also showing in dutch
so i am adding a additional reservartion page that i want to show in english
slug = reservationenus
https://jinda-massage.nl/reservationenus/
so im trying to set that page locale to english
what i found online how to do it is like this
add_filter('locale', function($locale) {
$path = trim($_SERVER['REQUEST_URI'], "/");
// get last part as slug
$arr = explode("/", $path);
$slug = end($arr);
if($slug === 'reservationenus') {
return 'en_US';
}
return $locale;
});
function yst_wpseo_change_og_locale( $locale ) {
return 'en_us';
}
but it doesnt work, still seeying it in dutch
how can i set the frontend page local so that it shows in english?
and by the way what locale works for amelia for english is it "en" "en_US" "en_GB" or does any of these work?
Thanks very much for your help.
Hello Alexander,
Your page is not set to en we support the en ug i en gb
We can not say how you can set this up this is not our area of expertise we can only say how Amelia work this more question for your web developer. You can perhaps check out these couple of links https://make.wordpress.org/polyglots/handbook/for-locale-managers/setting-up-your-local-site/, https://wordpress.stackexchange.com/questions/278354/changing-the-language-of-a-single-page, https://wordpress.org/plugins/weglot/
Hope this helps.
Best regards.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
ok yeah i seen that too, ok i will manage to change it somehow, ill investigate
thanks
Hello Alexander,
Once you create a page with this page locale Amelia should be translated automatically to that language just make sure that you set EN settings same as on page and in Amelia. So if you use EN_US you need to add EN_US in Amelia also.
Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.
We wish you all the best.
Have a nice day.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables