Dnn 9 - Set admin language to English and site language to Dutch - dotnetnuke-9

I'm working on a site which will have Dutch as its primary language, but I'd like the admin side of things to still be in English.
I've installed the site configuring it to use Dutch as the default language which means admin is also in Dutch.
I then go to Site Settings and activate En-Us but this automatically adds site aliases for both Dutch and English adding /nl-nl/ or /en-us/ to the URL.
All I want is for my site to be in Dutch, but for the Admin side of things to remain in English. Is this possible?
I've also tried enabling "Users May Choose interface Language" thinking that this applies purely to content editors, but this requires that both languages be installed which means we already have the issue where the site is in two languages with the language selector (flags) showing up.
I've set the admin user's preferred locale to English, but this makes no difference to the fact that the site is still in both Dutch and English.
I've changed the default Site alias removing the /nl-nl from the primary site alias which does work, but the user still has the option of selecting a language from persona bar (flags).

If you have only 1 language activated (Dutch) and you have the admin users preferred locale set on English, you have what you're looking for.
Cheers
Tycho

Related

Google Actions not supported for English(Ireland) language

I'm developing an Action on Google for the Irish market and I've noticed that my actions aren't available if the language in my account settings is set to English (Ireland), I get a message saying, "<> is not available for your country or language". Would anybody know how solve this issue (other than changing my language settings to English UK or US)? Ideally, I'd like to change some setting in my action so that it will be available no matter what the language selected is and restrict the access only by country.
You can localize your Actions for the Google Assistant to provide customized experiences for different languages and locales that users can set on their devices. Locale is the combination of a language and region, in your case, English (Ireland). Actions on Google can currently be localized to one of the following English locales: USA (en-US), UK (en-GB), Australia (en-AU), Canada (en-CA), and a few others. Ireland (en-IE) is not one of them, unfortunately.
References: https://developers.google.com/actions/localization/
https://developers.google.com/actions/localization/languages-locales

Organizing same website in different languages on a single domain

I have my personal website made with Sphinx. It generates static HTML pages. Currenty, the content is just in English or German only. I would like to expand this to multiple languages. I do not know how to structure my URLs, yet.
The following should be done:
Static folders like /_download, /_download and /_images must still be on the server only once, I do not have that much space.
The languages might be on equal footing, but that is not that important.
Old URLs still work without a problem and default to English. I do not want to cause a single 404 error.
I currently have the following ideas:
Put the English site on `example.de/, put the German site on de.example.de/ and redirect de.example.de/_download to example.de/_download with a .htaccess file.
Put the English site on example.de/ and put the German site on example.de/de/. Redirects as above.
English site on en.example.de/ and German on de.example.de/. And redirect for all languages.
English site on example.de/en/ and German on example.de/de/. Redirects as above.
What would make the most sense?
While the .de domain suffix indicates Germany, many folks associate .de with German. Displaying English by default adds confusion, which acts as a roadblock to those seeking other languages.
Setting the English site on en.example.de and German on de.example.de is most consistent, and will be most easily intuited by your multi-lingual audience.
Another option, which was not listed by the OP, would be to set the English site on example.de/en, and German on example.de/de.

Danish localization when publishing app

I'm trying to figure out how to localize the title and description of our app in Danish, English and German.
When i add a new app in itunes connects it asks me to enter the information in english. When i then go to manage localizations i only get a limited list of languages to add - Danish is NOT one of them.
I read the iTunes connect developer guide which mentions the following: "This is in addition to the English (or other default language you set on your defaults page) metadata you’ve
already supplied during your initial app creation."
But i can't find anywhere to set Danish as the default language to then get the option to add english and german as extra languages.
So how do i go about making sure that my app is available with a local title and description in the Danish store as well as the english and german stores?
Any help is GREATLY appreciated since I can't seem to get an answer from Apple.
Unfortunaly you cannot change the default language as far as I know (and this has created some major headache for developers in the past as the default language appears in ALL stores that have no custom language. If you for example chose your native language instead of english, you will have that displayed all over the world and can create a lot of exceptions for the countries in the list). (Edit since recently the default language can be changed per App)
As for the language list: you only get what is there and have to rely on apple to extend the list in the future (never a bad idea to send en enhancement request).
Unfortunaly probably not what you wanted to hear but localization handling is still somewhat suboptimal. The only thing you can do is enter the information in the default language in Danish (and thus create a danish page for some parts of the world as well) and fill ALL of the other languages with a localized description (or english if you cannot localize) which at least gives an english description for some of the larger markets.
I'm not sure how/if Apple allows the default description in Danish if the setting is English but I already had to fill all localizations in the list with english text (even Japanese, French etc.) and had the app approved.

ASP.NET MVC 3 multilingual SEO

I'm currently writing an ASP.NET MVC 3 web application that supports multiple languages.
I already managed to translate all the routes so that calls like:
www.mysite.de/Kontakt and www.mysite.de/Contact will route to the same Controller/Action.
By design it is so that when calling www.mysite.de the language (stored in the session object) will automatically be set to a default language (here German). The navigation of the site is then dynamically setup accordingly.
The language in the session object can be changed by either hitting the "English version" link or when manually calling e.g. www.mysite.de/Contact. In this case it is recognized that the link (/Contact) matches a route that is
defined as English and so I change the language in the session object to English. Of course the content of the sites is also localized.
My question now is how does that cooperate with SEO, especially with Google?
I already add the Content-Language meta tag dynamically to each page. So I think that with a proper sitemap.xml should be sufficient.
Does Google recognize this correctly? Is it when searching Google in German that I get "Kontakt" as result and "Contact" when searching in English?
Another issue is what happens when the link is the same for different languages? E.g. the link to "Jobs" would/could be the same as well in English as in German.
I hope that the question is understandable as my issue is rather complicated.
Cheers,
Simon
Google does not only rely on you telling them what language your site is in, you only hint them.
The pages will be analyzed and presented as a page in "German" or a page in "English" based on the language of the content.
But your base assumption is correct.
Yes, if I search for your page in German, and Google has indexed the page as a page in German, Google will return Kontakt.
As for your second question, unless you provide another mean to change the language other than the path (query string or language in browser setting), those links will only be in your default (German) language.
If you would like them to appear in english, use a different, additional URL: Jobs-EN that you only have in your SiteMap.xml (and route, of course).
Another issue is what happens when the link is the same for
different languages? E.g. the link to "Jobs" would/could be
the same as well in English as in German.
You might consider having the language as part of your URL, for example:
www.mysite.de/de/Kontakt
www.mysite.de/en-us/Contact
www.mysite.de/en-gb/Contact

Setting Hostnames in Umbraco Without Setting Language

I using umbraco to create a multi territory website so I have nodes set up for each territory (not language) something like
England -- mysite.co.uk
Content
Germany -- mysite.de
Content
etc.
Language is then selected by user preferrence/browser (so for example even on the german site you may want to see articles in english albeit the articles on the germany version of the site).
I'm setting the Thread.Current.CurrentCulture and CurrentUICulture in the global.asax but it seems that umbraco is overriding this in the pages oninit using the language set on the hostname management screen. Unfortunately Umbraco seems to assume that hostnames are used to drive out language choices and so language is a required field on the hostname management screen. Is there any way to stop umbraco taking the language from the hostname section?
No, there is no way to stop Umbraco from setting the language based on your hostname. However, you could set it yourself in the PreLoad event.
As you noticed, Umbraco is setting the language OnInit, so you need to set the language yourself, but do it after Umbraco sets it.

Resources