January 27, 2017

Impossible to add a language in Sitecore

I had an issue very recently: I cannot add a language in Sitcore anymore. When I tried to add it, the add language wizard was freezing without any error messages.

The resolution of this issue was very simple I just had the '-' character in the InvalidItemNameChars like this:

<setting name="InvalidItemNameChars">
 <patch:attribute name="value">\/:?&quot;&lt;&gt;|[].-</patch:attribute>
</setting>
So juste remove it from this patch during the add language process and then re-add it and the problem is fix!

7 comments:

  1. SEO friendly URLs bite back! I eluded to this issue on my blog post about those new encodeNameReplacements

    > And guess what else? Languages! You know those 4 character language/region codes with dashes in the middle? Disallowing dashes means you can add those either!

    https://jammykam.wordpress.com/2016/02/29/seo-friendly-urls-pt2/

    ReplyDelete
  2. Very interesting article jammykam. Thank you for your advices about it.

    ReplyDelete
  3. Learning new technolgy would help oneself at hard part of their career. And staying updated is the only way to survive in current position. Your content tells the same. Thanks for sharing this information in here. Keep blogging like this.
    ios Training in Chennai

    ReplyDelete
  4. Thank you very much for this, I just saved myself a lot of precious time.

    ReplyDelete
  5. Thanks for sharing this Article on sitecore.plz keep sharing

    ReplyDelete
  6. Amazing that you found out about this! Thank you very much!

    ReplyDelete