Alibabacloud.com offers a wide variety of articles about node js multi language support, easily find your node js multi language support information here online.
In Sharepoint, the implementation of multiple languages on a single site has always been a difficult problem. I have never seen any solutions. Recently I have made some time to do this.
Implementation principle:
Use httpmodule to dynamically switch the current thread language.Use httpmodule to intercept all HTML outputs, use regular expressions to replace them, use $ to identify all the locations on the site that require language switching, and then
Versions later than quickflow (build101216) support multiple languages. Download: http://quickflow.codeplex.com
EnglishSite effect:
ChineseSite effect:
Quick flow uses standard WSS resource files in multiple languages. After WSP is updated, the files in c: \ Program Files \ common files \ microsoft shared \ Web Server Extensions \ 12 \ Resources
You can see the resource file of quickflow in the directory. The installation package has built-in
The system supports languages that have classes: Language says;
The corresponding classes for multilingual resources are: localizedproperty;
Select a language to store in the class: Genericattribute;
Multiple languages can be exported as XML files and, of course, export supported.
The Iworkcontext and its entity classes are webworkcontext to the current running context, and the user's logon information
First set up the language file and add the. resx file to the projectFor example:Message.zh-cn.resx ' Simplified ChineseMessage.zh-tw.resx ' Traditional ChineseMessage.en ' English..............=========================================Then use the name--value key value pair to fill in the language you want to display on the pageSuch as:Name valueIn Message.zh-cn.resx:Res_loginbname Login Name:In Message.zh-t
for other servers, such as databases.But generally speaking, a CPU is good for a worker.So, the whole architecture is like this:The master process, what needs to be done is to monitor the worker's life cycle, if the worker is found to be dead, restart the worker, and do the corresponding log.The whole architecture does not have much difficulty, the focus is to do some detail processing, such as restart, log, 5-second heartbeat packet and so on.Multi-process architecture, compared to the origina
App_GlobalResources in ASP. NET 2.0 can be used to solve localization problems, and the program will automatically determine the localized interface based on the browser's language preferences.First create a new RESX resource file in App_GlobalResources. Such as:Items in the ResX in different languages should have the same name:Chinese resource ItemEnglish resource itemsWhen you're done, you can use these name values.OrNow you can change your browser'
I believe many friends are using the domestic Office software Jinshan WPS Office, if you do not want to repeat the installation of multiple languages version, after all, download, install both trouble and occupy too much of the hard disk space, then you can use the following method for the current version to obtain multi-language support:
Step 1: Open the Thunde
I believe many friends are using the domestic Office software Jinshan WPS Office, if you do not want to repeat the installation of multiple languages version, after all, download, install both trouble and occupy too much of the hard disk space, then you can use the following method for the current version to obtain multi-language support:
Step 1: Open the Thunde
InitializationPlugin.DL_Speak.ini ("yxme64uttbjhv0r620180302005400")Get the pronunciation clerk that exists in the systemSS = Plugin.DL_Speak.GetLanguageMessageBox SSSet the pronunciation of the system voice library 0 1 2 3Plugin.DL_Speak.SetLanguage 0Set pronunciation speed +50Plugin.DL_Speak.Rate 50Read the custom textPlugin.DL_Speak.Speak ("But Tretfdgfd of Guangdong Province, a wide range of widely-held Guangdong province Guangdong province")Convert text to WAV audio files and save them in a
to nodejs. For specific data comparison, please Google
Of course, in the domestic short-term PHP can not be replaced by nodejs, I always feel that the domestic technology trends will be slow for many years abroad, when the foreign very popular PHP, the most popular domestic may be http://asp.net
Or java, PHP is the most popular in China now (to be honest, the job of recruiting PHP on the website seems to be higher than Android now). Foreign Countries have set off a boom in Python and nodejs;
as fast as C or C + + code, and more secure and support parallel processes.node. jsnode is better at dependency processing, and NPM is excellent at relying on version management (go dependencies cannot be specified, but also with unofficial tools), and node community activity is better than go. Node in the site, especially the need for direct user-oriented HTTP
Work encountered JS array sorting problem, the array is stored in the object, so Baidu, the use of other people's code to modify, the final completion can be reversed, reverse order, can be multi-dimensional sorting functionThe source code is as follows:/** * JS Array sort supports numbers and strings * @param params* @param arrobj obj Required Array Object * @pa
fields, the go language is a more promising language for me. the subject must have never heard of swoole. although node is good, the JAVAscript language is too ugly, and split. Originally, Node. js was a
data comparison, please Google
Of course, in the domestic short-term PHP can not be replaced by nodejs, I always feel that the domestic technology trend will be slow abroad for many years, when the foreign very popular PHP when the most popular in the country may be
/ http
ASP
Or Java, now the domestic PHP most popular (to be honest, the job on the job site PHP position now seems to be second only to Android Pay is also high), foreign has set off a python, nodejs craze;
Although praised so m
application environments have their own advantages and disadvantages.
There are only suitable or inappropriate differences for a specific environment-performance, development efficiency, code quality control, compatibility, deployment, maintenance, Community technical support, framework, update and maintenance, and manpower cost and infrastructure requirements.
Summarizing a language with garbage is not on
The latest code to support IE, Firefox, and chrome messages:
First share two set the first page of the JS code (does not conform to the standard does not talk about compatibility):Two ways to set the current page as your browser's home page, one is to set the page you are browsing as the homepage, and the other is to set the designated Web site as the first page, as to what you use, see your n
Nginx has always wanted to support more scripting capabilities, now JS has been included. Needless to say, the direct taste of it! 0. Installation > cd/tmp mkdir njs cd NJS> wget http://nginx.org/download/nginx-1.8.0.tar.gz> wget http://hg.nginx.org/njs/archive/tip.tar.gz tar zxvf tip.tar.gz> CD njs-3ed92ffa3f05 ./configure Make> CD. tar zxvf nginx-1.8.0.tar.gz CD nginx-1.8.0>./configure--add-module=.
Hello everyone!Multi-language Implementation case: http://alidoing.com/or http://www.alidoing.com/Figure: Switching Language interfaceJS Code implementation:1. First create a new object langobj, of course, the property values inside the object is variable, such as array [], are supported.var langobj= { "LANHELP1": "Thank you:" ,"LANHELP2": "provides
This article mainly introduces how Thinkphp builds a multi-language project that includes multiple languages in Javascript. It is a very practical technique to build a multi-language website by calling Javascript language packs, if you need a friend
This article mainly intro
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.