Our Sitecore DB items had many of their display names changed to Japanese for no apparent reason. We thought that we might have accidentally changed the Sitecore language in the content editor, but I can confirm that it is in fact English. This seems to only be happening in the core DB. Has anyone had something similar happen?
Here is an example of the display name changing:
Here is a confirmation that we are set to English:
We're on Sitecore 7.5
There a 2 languages in the Sitecore CMS, the Content Language en the Client Language.
It looks like you change the Client Language to ja-JP. You can set the Client Language for each user in the User Manager, and a default in the web.config
<!-- CLIENT LANGUAGE
Specifies the default language of the Sitecore client if no language
could be determined in any other way.
-->
<setting name="ClientLanguage" value="en"/>
Another point there is a \App_Config\Include\ja-JP.config.example file. maybe you have rename it to .config?
And there is a installed Japanese (ja-JP): Client Translations
Related
The business has a requirement to always show the language in the URL for our CD sites. I did some research and set the LanguageEmbedding setting to always. This seems to work fine for non-default languages but not for English, which is the default language.
When I try to go to www.abc.com, shouldnt it change to www.abc.com/en ? Am I right to think this or is this how Sitecore will behave for default language where it won't show the language if its not an embedded links?
Thanks
When Sitecore determines your language via browser preference, cookie, URL slug, or query string, it will not redirect to that preferred URL structure with language slug.
You can either create a redirect module (i.e. if language context set, make correct URL and redirect) or write out <link langref=""> tags, which is an SEO best practice anyways.
OOTB that is the way that Sitecore works. When you have LanguageEmbedding="always" - the links should all be generated with the language embedded - including for en, so a link to the home page would be www.abc.com/en - but if you just visit the domain - www.abc.com - Sitecore then uses either the language cookie stored from your last visit, or the default language.
If you want the behavior to be that if you visit www.abc.com the user is always it would be better to set that up using an IIS Redirect or a rewrite .
I have 2 different languages in the website, and would like to make the Chinese language as a default home page
how do i do that ?i am using Joomla 2.5
I supose you already install chinese and setup it in the admin language manager. I think you need to create a new menu Home in Chinese and setup like default.
Anyways joomla all the time will show the page in the main language setup in the browser.
Another way: go to Language Admin and choose the chinese language like default.
Does anyone know the easiest way to change DateTime field format on Sitecore backend (Content Editor). My current Sitecore shows date in US format (which is MM/dd/yyyy); but I want to use the format dd/MM/yyyy.
Any help would be appreciated.
Thank you.
This is controlled by the language the shell/Sitecore backend is running in (not the content language). By default Sitecore uses english (US). If you run with this language it will show the format in MM/dd/yyyy.
If you have a danish language it will show dd-MM-yyyy. If you need an english language with another date format, you should probably create a en-UK language in the core database, and have your users log in to that format.
You can also set the default language for the content editor by setting the following configuration in the web.config
<setting name="ClientLanguage" value="da" />
From Ben's suggestion, I've figured out what config I should change to achieve my goal: Since my region is using UK format, I need to change this for all users; and the config I need to change is DefaultRegionalIsoCode.
<setting name="DefaultRegionalIsoCode" value="en-GB" />
Jen's answer is also helpful, but it addresses another issue. From what I've researched, changing ClientLanguage needs to install additional package and may translate all texts/messages of the whole CMS.
http://sdn.sitecore.net/Resources/Client_Translations/CMS%20Client%20Translations/7,-d-,0,-d-,x.aspx
As an alternative to the system-wide default mentioned by Jens, this can be controlled on a per-user basis by changing the Regional ISO Code on the Language Settings tab of the Edit User dialog. A user can also change it by going to Control Panel > Preferences > Set Your Regional and Language Options.
In the Sitecore sites I'm working on (6.5 and 6.6), I've noticed that all the sites have a page at /si that is the same as the home page, but with the content missing/hidden.
Does anyone else have a website with this page? Does anyone know what it is for?
This is Chinese version of the home page. The content is missing as there are no Chinese language specific fields filled with data, but the page itself may come from Standard values.
Most probably your LinkManager in Sitecore.config has the value of languageEmbedding property set to asNeeded or always.
Switching to never would solve this issue (as long as you're not using multilanguage versions of you pages and you need language in the url).
Here are some posts which gives some more input about LinkManager:
Patching the Linkmanager
Sitecore Language Embedding multiple sites
This is expected Sitecore behavior.
You can find the same "pages" with "it", "dk", "de", "se" and so on.
In the httpRequestBegin pipeline found in web.config you can see that Sitecore language resolver is kicking in before the item resolver does. Hence Sitecore interprets the request as a request for the home page in another language layer and any two-letter ISO code for language will return the home page in that specified language context.
You could implement your own processor before the language resolver if you want to handle requests for specific language codes in certain ways.
I'am new to Sitecore and had few questions on Multilingual sites in Sitecore
First I added the new language to the existing site and try to access the same with sc* parameter for testing purpose.
The site throws "Input string is in incorrect format" error. Though the content is not added for this it should be a blank page, not sure why it's throwing the error.
If, by chance, your Sitecore instance has multiple sites (i.e. you're using the SiteDefinition.config file to define separate site host headers) then you need to specify the language per-site, in the language attribute within the particular site node in SiteDefinition.config.
The value would be the language code, like "en-US" or "da-DK" for instance. For reference, see this (this references the web.config, but it applies to SiteDefinition.config as well).
besides the sc_lang query parameter, you can also give the language in the url.
for example /en leads to English homepage, /nl-NL to the dutch homepage. the first part of the url is the language.
so /en/page1.asp leads to the en version of the page1 item under your home.
The current language is stored in a cookie check the website#lang cookie.. Where website is the name of the website.
The default language is located in the web.config or include files
With the LinkManager in the web.config you can configer the appearance