Community Forum
Load one page with setting exact language
I'd like ask you if possible set for one page (one URL) another language (not default from project) thru loading and keep it.
Hello VladimΓr,
Thanks for your question. I'm not sure that I completely understand what you are looking for. Would you be able to provide more details, perhaps spelling out what your source language is, what your target languages are in your Localize project and which language you want this specific page to use? Thanks!
Hi,
it is project www.loosovavila.cz. We have all URL in Czech and default language is Czech. But we need one page with English URL and load in English language (it is because program with SEO features is too expensive for us). And when we will place links to this page, we need that they are going to english version of website. It's for landing page for Ads for advertising in English.
I think that you should be able to control the URLs to and from this page on your own, outside of any features within Localize. Then on the English-only page, you can set the targetLanguage option to 'en' in your Localize.initialize() call. Hope that helps!
Honestly, I can't find how to setup Localize.initialize() function for one page, one URL (I am working in Squarespace) in link you posted - targetLanguage option, Could you please find for me link at help? β¦ and maybe could work for me using parametr /?lsj=en adding to URL of page?
Adding /?ljs=en will definitely change the language to English on that page, so that would probably work. Give it a try!
Thanks' I'll try.
ο»Ώ