browsers | Site If your site is for surfers around the world or for business, it's very realistic to test the browser language type of visitors. provided here
The script can detect the reveal, the browser language type, the general Chinese can be
SharePoint 2010 supports the same Web site presenting a different language UI. For example, a Chinese version of the SharePoint 2010 system, the administrator can install the SharePoint 2010 English Language pack on the server, and then in the
1: Multiple Languages of data:
In Qblog, the data in multiple languages, I was divided into two schemes to deal with:
A: Multiple data, article data, a language field to identify the language of the data.
B: For other data, headings,
When we open many websites, we may find that they will automatically judge based on your language and jump to different language interfaces. For example, if Google is used in different languages, you can enter the Google homepage to switch to your
Now, if the company wants to build a website that supports multiple languages in multiple countries, we should design it in this way, either under a domain name, in the form of cn or fr, or through a domain name. fr ,. en ,. cn is better. now the
1. Support for Asp.net
(1) install. NET Framework
Double-hitting dotnetfx.exe is also the next line.(2) install mod_aspdotnetInstall Apache and. NET Framework before installing mod_aspdotnet.Double-click the mod_aspdotnet-2.0.0.msi, select
You can rewrite the page in ASP. NET 2.0.
Code File initializeculture () to set the uiculture of the page. For example:
1
Protected
Override
Void
Initializeculture ()
2
{ 3 If (Session [ " Uiculture " ] ! =
In someLinuxThe box displayed on the platform is not caused by netbeans. For example, on Ubuntu, open the terminal and go to the $ java_home/JRE/lib/fonts directory, check whether the fallback directory exists. If not, use the following command to
Gedit is a common editing program that supports plug-ins and custom language settings.
The following describes how to customize the gedit editor in Ubuntu 14.04:
1. Install the plug-in
Sudo apt-Get install gedit-plugins
2. Set the plug-in
App_globalresources in Asp.net 2.0 can be used to solve the localization problem. The program automatically determines the localized Interface Based on the browser's language preferences.
Create a resx resource file in app_globalresources. For
1. Create two resources files on the web site as follows:
File Information in resources. resx
File Information in resources. en-us.resx
Default. aspxCode
Copy code The Code is as follows:
global_resource
default.
When we open many websites, we may find that they will automatically judge based on your language and jump to different language interfaces. For example, if Google is used in different languages, you can enter the Google homepage to switch to your
In the previous phase, we made an addin Based on vs. net using our free time. The main function is to implement C #Code. Although it has been implemented, it does not feel very good, mainly because the generation speed is too slow. Later, I checked
Modify the/etc/sysconfig/i18n file, such asLang= "en_US. UTF-8 ", Xwindow will display the English interface,Lang= "ZH_CN. GB18030 ", Xwindow will display the Chinese interface.There is also a way to cp/etc/sysconfig/i18n $HOME/.i18n modify $HOME/.i1
Recently to a game for multi-language localization, on the Internet to find some solutions, coupled with their own a little idea to organize a set of programs and share!
Multiple languages typically have two approaches in an application:
One, the
First, create a new resx resource file in App_GlobalResources. Such as:
Items in ResX in different languages should have the same name:
Chinese resource items
English resource items
After that, you can use these name values.
Copy
Create a laravel5.1 project easy_grouping.
Composer Create-project Laravel/laravel easy_grouping 5.1.*
1. Multi-language TipsCreate a new directory ZH-CN in the Resources-lang directory, creating tip.php, as follows
' successful operation
1. Create two resources files on the web site as follows:
File Information in Resources. resx
File Information in Resources. en-us.resx
Default. aspx codeCopy codeThe Code is as follows: global_Resource Default. aspx. cs codeCodeCopy codeThe
Text: Use Ajax + XML to implement multiple languages on the browser side
I. Introduction
The first question to answer is whether it is necessary for us to implement such a function.
At present, most websites (such as forums and blogs) are usually
JS uses the Google translation interface to translate webpages into different languages
The original link is no longer available.
The following is my own code:
'Sl = & TL = de', 'text' => 'German ',), array ('value' => 'Sl = & TL = els', 'text' =
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.