I have multilingual website. One of the markets is double language namely UAE so we have english and arabic. On the arabic root node the culture is set to ar-ae as picked from the dropdown. For english currently i have en-gb however i need actual language code for this did some digging but could not find anything.
Dear Ismail,
I have multilingual umbraco website, English is working fine and second language which i have created from Settings > Language is not working, showing message " 404 error, Sorry, the page you are looking for does not exist."
i did changed the domain from Culture and Hostnames.
Thanks for reply. Above issue regarding 404 error has been solved but i'm facing issue with secondary language which is Arabic. I need to add separate css for arabic language. It should be auto selected by language i.e. by selecting culture. If visitor select arabic lang arabic.css should be attached else english.css will remain work.
I have no idea what and where should i write the script to auto detect the css file as per culture or language selected. Please assist.
Hmm. Here's an idea that should be possible(haven't tried it myself)
In Umbraco Backoffice if you have something like a Site Settings composition you can create an additional field that is a textstring and varies by culture - let's call it "Stylesheet" for this context.
What we can do is add the "/css/english.css" for EN and "/css/arabic.css" for Arabic in the content node.
Arabic english language code
Guys,
I have multilingual website. One of the markets is double language namely UAE so we have english and arabic. On the arabic root node the culture is set to ar-ae as picked from the dropdown. For english currently i have en-gb however i need actual language code for this did some digging but could not find anything.
Anyone any ideas?
Regards
Ismail
So in answer to my own question https://msdn.microsoft.com/en-us/library/ms172469(v=vs.90).aspx this could be a plan.
Dear Ismail, I have multilingual umbraco website, English is working fine and second language which i have created from Settings > Language is not working, showing message " 404 error, Sorry, the page you are looking for does not exist." i did changed the domain from Culture and Hostnames.
Please assist for solution.
Thanks
Hello Mona,
Please create a new topic for your question or if you already have one can I have the reference?
I am happy to help you with your problem.
Dear Vlael,
Thanks for reply. Above issue regarding 404 error has been solved but i'm facing issue with secondary language which is Arabic. I need to add separate css for arabic language. It should be auto selected by language i.e. by selecting culture. If visitor select arabic lang arabic.css should be attached else english.css will remain work.
I have no idea what and where should i write the script to auto detect the css file as per culture or language selected. Please assist.
Following is the screenshot of master page.
Hello Mona,
Hmm. Here's an idea that should be possible(haven't tried it myself)
In Umbraco Backoffice if you have something like a Site Settings composition you can create an additional field that is a textstring and varies by culture - let's call it "Stylesheet" for this context.
What we can do is add the "/css/english.css" for EN and "/css/arabic.css" for Arabic in the content node.
and then the implementation would look like:
/Vlael
Dear Vlael,
Please check the following screenshots for compositions folder and assist me to create additional.
Hello Mona,
I think this might be misleading to other people when they saw the thread.
I'm happy to assist you but can you please create another topic for it?
Or you can directly contact me - [email protected] or you can check my social media links in my profile. Thanks!
/Vlael
i've sent email on your yahoo account, plz check.
is working on a reply...