multilingual

SEO for multilingual sites: language-specific results without changing URL?

三世轮回 提交于 2019-12-02 15:33:16
I have a site that has 2 languages: English and Swedish. What I want is, if someone Googles the site in Sweden, it should show the Swedish results. That is, I want Google in Sweden (google.se) to crawl the Swedish version of the site. For any other place, I would want the English version to be crawled. I read the following: http://googlewebmastercentral.blogspot.se/2010/03/working-with-multilingual-websites.html It says I should have 2 separate pages for the website. Is there a way such that I don't need to change anything in the url? I mean simply, if anyone on google.se searches for example

Multi language database, with default fallback

允我心安 提交于 2019-12-02 14:02:07
I have a question that, I know, has been widely discussed about, but in my opinion, there is one aspect that still needs clarification. I am creating a web-application with a multilanguage database, I already found some good-practices articles (such as this ) and answers here in stack overflow like this . So I decided to use a main table with the IDs of my items and another table with the translation for each item, let's say, for example Content ContentTranslation or Category CategoryTranslation and so on. Right now what I'm doing? I just get the items from the database with all the

Unicode characters necessary for Japanese, Korean, and Chinese

与世无争的帅哥 提交于 2019-12-02 12:43:38
问题 I'm trying to answer these basic questions without getting a degree in linguistics and early human history, which seems to be where every google search has lead. Which unicode characters are necessary to include in a font in order to support rendering of Japanese language text? Which unicode characters are necessary to include in a font in order to support rendering of Chinese language text? Which unicode characters are necessary to include in a font in order to support rendering of Korean

Multilingual email address validation with jQuery and RegEx

可紊 提交于 2019-12-02 10:17:35
I have some jQuery and RegEx code that works great validating email addresses ...as long as the address is based on simple Latin characters. However, when we plug in more complex multilingual email addresses, our checks fail using both native HTML5 validation and validation based on a Regular Expression. Here's the Chinese email address we're using for testing: 伊昭傑@郵件.商務 And here's the JS validation code (I haven't bothered to strip out namespaces and internal utility methods). We have a hidden HTML5 input control of type "email", and we pass the email address to that control and let the

Magento remove store code for default store view

泄露秘密 提交于 2019-12-02 08:49:08
问题 I've Magento multilanguage store and I need to add store code to url. In this path System > Configuration > Web > Url Option > Add Store Code to Urls I've turn ON , then I see in url as such site.com/en (default), site.com/br (brazillian). How I can remove EN in default site.com/en and get for default store site.com without EN path?? 回答1: I have made a new extension available on GitHub that allows you to hide the default store code from URLs. More information here: https://github.com/jreinke

How do you implement multilingual support for pyqt4

时间秒杀一切 提交于 2019-12-02 08:48:01
问题 I have a pyqt4 program and would like to implement multilingual support. I have all the .qm files, but can't figure out how to use them. I can't really find much documentation on this, and nothing I try seems to work right. 回答1: There's tons of documentation on this subject, which can be found in the obvious places: Internationalization with Qt Qt Linguist Manual Internationalisation of PyQt4 Applications Below is a simple demo script (run with -h for usage): from PyQt4 import QtCore, QtGui

Unicode characters necessary for Japanese, Korean, and Chinese

和自甴很熟 提交于 2019-12-02 05:59:53
I'm trying to answer these basic questions without getting a degree in linguistics and early human history, which seems to be where every google search has lead. Which unicode characters are necessary to include in a font in order to support rendering of Japanese language text? Which unicode characters are necessary to include in a font in order to support rendering of Chinese language text? Which unicode characters are necessary to include in a font in order to support rendering of Korean language text? Start with the East Asian Scripts in the Code Charts @ unicode.org . For example, Hiragana

Setting a multilanguage site in TYPO3

↘锁芯ラ 提交于 2019-12-02 04:55:50
问题 I'm trying to set up a multilanguage site with typo3, but Im having some trouble. The default language of the site is German, but I also want to have it in English and French. So I went to define 2 more languages: English with ID=2 and French with ID=3 Next I added this typoscript to my template: config.linkVars = L config.uniqueLinkVars = 2 config.sys_language_overlay = content_fallback config.language = de config.locale_all = de_DE config.htmlTag_langKey = de-DE config.sys_language_uid = 0

My multilingual website with only basic php (without zend_translate, gettext, etc…) will I have problems in the future?

懵懂的女人 提交于 2019-12-02 04:44:50
I tried gettext , but my free hosting doesn't allow it. I thought about Zend_translate , but I didn't want to use elements from frameworks since my page is mostly static. So, I ended up with this tutorial: http://www.bitrepository.com/php-how-to-add-multi-language-support-to-a-website.html Where the author only use basic php (not sure), and it seems to work, but I'm not quite sure if it a good (or common) practice or if it can cause me problems in the future (adding and deleting bunch of code). Here it is: common.php : <?php session_start(); header('Cache-control: private'); // IE 6 FIX if

Setting a multilanguage site in TYPO3

心不动则不痛 提交于 2019-12-02 02:28:59
I'm trying to set up a multilanguage site with typo3, but Im having some trouble. The default language of the site is German, but I also want to have it in English and French. So I went to define 2 more languages: English with ID=2 and French with ID=3 Next I added this typoscript to my template: config.linkVars = L config.uniqueLinkVars = 2 config.sys_language_overlay = content_fallback config.language = de config.locale_all = de_DE config.htmlTag_langKey = de-DE config.sys_language_uid = 0 [globalVar = GP:L = 2] config.language = en config.locale_all = en_EN config.htmlTag_langKey = en-EN