multilingual

Language Fallback not working for Fields with Standard Values (Sitecore 8.1)

人盡茶涼 提交于 2019-12-06 08:17:39
We had an issue where we enabled fallback language settings at the item level on a base template so that it would apply to all of our items. It worked for about 90% of our items but not for others even though the sitecore content editor indicated that it was working. Placing this here for anyone else who has this issue. I didnt find a specific solution for this issue on Google and was lucky enough to figure it out. Hopefully this can help someone else out too. Our setup is Sitecore 8.1 with Habitat Asp.net MVC Daniel Kereama Here are some steps to make language fallback work for all items by

Any Ideas for Developing a Multi Language Site - SEO, php, mysql

左心房为你撑大大i 提交于 2019-12-06 07:21:48
问题 I have just finished a client’s website and now they want to have different languages. At the moment the sites content is stored on tables in a MySQL db: pages : seotitle , seodesc , smallHtml , fullHtml products : ID , seotitle , seodesc , smallHtml , fullHtml I was thinking a good way to do it would be to have an extra table: languages : ID , LanguageCode , language Then modify the pages and products table to: pages : slug , seotitle , seodesc , smallHtml , fullHtml , languageCode products

How you deal with translation (multilanguage) webservices in Django Rest Framework using angularjs?

随声附和 提交于 2019-12-06 05:58:39
I am a beginner with using: django, the django rest framework and the client-side MVC framework Angularjs. I would like to ask any developers working or familiar with this stack in any of your projects, how you deal with translations (in many languages)? What are best practices to do it as efficiently as possible and are there any new language extensions available? There's nothing specific to AngularJS about dealing with languages. If you want to handle the choice client-side, make sure to set the Accept-Language header. See the django translation docs . If you want to handle language choice

.htaccess rule for multilingual site

会有一股神秘感。 提交于 2019-12-06 03:49:10
问题 I'm redesigning the URL of a PHP multilingual site (en|es|de|fr|ru). The URL's of the site are this way: www.mysite.com/page www.mysite.com/page/subpage1 www.mysite.com/page/subpage1/subpage2 www.mysite.com/page/subpage1/subpage2/subpage3 Up to four levels of subdirectories (products, subproducts, etc.). The language is passed as a GET parameter: www.mysite.com/page?lang=es or www.mysite.com/page/subpage1/subpage2?lang=de The current .htaccess is something like this: Options +FollowSymlinks

How to verify browser support UTF-8 characters properly?

…衆ロ難τιáo~ 提交于 2019-12-06 03:18:24
Is there a way to identify whether the browser encoding is set to/supports "UTF-8" from Javascript? I want to send "UTF-8" or "English" letters based on browser setting transparently (i.e. without asking the User) Edit: Sorry I was not very clear on the question. In a Browser the encoding is normally specified as Auto-Detect (or) Western (Windows/ISO-9959-1) (or) Unicode (UTF-8) . If the user has set the default to Western then the characters I send are not readable. In this situation I want to inform the user to either set the encoding to "Auto Detect" (or) "UTF-8" . First off, UTF-8 is an

Google multilingual sitemap issue

痞子三分冷 提交于 2019-12-06 02:33:59
问题 I have a sitemap issue. I am working on a multilingual website and I'm trying to use the Google method to indicate alternate language pages, as it is described here : https://support.google.com/webmasters/answer/2620865?hl=en. You can see my sitemap here : http://preprod.fabric-a.fr/princesse-nomade/sitemap.xml It seems that this sitemap is broken, and I don't understand why, it respects the example given by google.. Curiously, when I replace xmlns:xhtml="http://www.w3.org/1999/xhtml" by

where does 0x come from? [duplicate]

萝らか妹 提交于 2019-12-06 02:31:29
问题 This question already has answers here : Closed 9 years ago . Possible Duplicate: Why are Hexadecimal Prefixed as 0x? I just saw a comment a friend of mine made: 3x12=36 2x12=24 1x12=12 0x12=18 Which made me wonder.. Why did they choose 0x as prefix for hexadecimal numbers? Is there any history behind this decision? 回答1: I think, because x comes from hex and 0 is to indicate that it is a number. 回答2: 0x means the number is probably hexadecimal. This applies in C/C++, and probalby other

What exactly does the `systemLanguage` attribute in multilingual SVG's refer to?

北城以北 提交于 2019-12-05 21:17:19
The SVG specs describe a systemLanguage attribute ( http://www.w3.org/TR/SVG/struct.html#SystemLanguageAttribute ) that can be used to provide multilingual content (for example when put in a switch that provides cases for different languages). But what exactly is meant with systemLanguage ? Is it the language of the Browser? The language of operating System? The keyboard layout language? The thing that PHP's $_SERVER[’HTTP_ACCEPT_LANGUAGE’] contains? A parameter of the SVG file itself (like foo.svg?en-US )? What "thing" can/should/may I change to actually trigger the element with matching

Magento multilanguage - double change in language resuts in 404 (or how to change language within stores not views)

人走茶凉 提交于 2019-12-05 18:51:28
I have a problem with a magento installation. I used Magento ver. 1.5.0.1, community edition to develop this website http://cissmarket.com/ . The problem appears when I change the language from the EU version to French and after that to German. The change to french is ok, but when in the same page i change to German i receive a 404 error. Also this is generation 404 errors in the Google webmaster tools and when i try for example to take this link and paste it in the browser it gives me also a 404 error. I have there some 50 products and ~550 404 errors in Google Webmaster tools. I understand

How to lazy load a js file in React (for a multilingual app)

纵饮孤独 提交于 2019-12-05 18:33:25
I would like to create a multilingual app with React. The way I see it would be to have a js file for each language, for example : en.js: module.exports = { langEnglish: 'English', langFrench: 'French', navHome: 'Home', navUsers: 'Users', ... }; fr.js: module.exports = { langEnglish: 'Anglais', langFrench: 'Français', navHome: 'Accueil', navUsers: 'Utilisateurs', ... }; As each language file will be quite big and there could be dozens of different languages supported, I would prefer to download only the correct file to use depending on the language chosen in order to minimize loading time (and