--zh.js//Chinese Language PackMy requirement is to a.js in the router to get the data saved in Vuex and to set the i18n language.Since there is no Vue's this object in A.js, calling methods and getting properties is a problem, as a Vue novice, Baidu still did not find a solution.After you finally try it out, you can directly introduce Vuex and i18n exposed objects, use them directly in the route, and use th
instance object that is convenient for global invocation. We use the this.$i18n.locale language to switch, the same example of my side is by clicking on the event, click on the "NetEase Cloud Music", to trigger the event, switch the value of the locale.4, OK, the introduction of the thing is this, then since the internationalization, this is a simple way to switch between Chinese and English, then naturally we need two sets of language documents, vue-i18n
currently supported locale list here (Https://github.com/angular/angular.js/tree/master/i18n/locale)
Ii. customizing locale rules in angular
There are two ways to customize locale in angular:
1. Pre-binding set of rules (pre-bundled rule sets)
We can implement pre-bundle files that will be angular and angular.js (locale) by connecting the locale-specific files to the angular.min.js.
For example, in *nix, we can create a angular.js file with a fi
Using angular-cli to publish the Angular application of i18n language, angular-clii18n
Add i18n to the html tag of the template
Use the ng command to generate the message. xlf file in xlf format
$ ng xi18n --output-path src/i18n
After the command is executed, the src/i18n/messages. xlf file is generated.
Copy message
JQuery. i18n. properties is a lightweight jQuery internationalized plug-in that can internationalize the Web Front-end.
International English words: Internationalization, also known as i18n. "I" is the first letter of the word, and "18" is the number of words between "I" and "n, "n" represents the last letter of the word. JQuery. i18n. properties adopts the. prop
There are three classic ideas for solving i18n problems, the first is to provide each page with relevant pages for each language. The second is to separate the content from the representation and do the content files in different languages. The third is the dynamic translation of page content. The third is very rare, and machine translation technology is difficult to meet people's expectations. The 2nd kind is our commonly used properties.
The premis
I18N (whose source is the English word internationalization the first character I and n,18 as the middle character number) is the abbreviation of "internationalization". The I18N encapsulation API in the Chrome plugin framework:Chrome.i18n.getMessage (name)The characters used can be defined in a format similar to __msg_extname__, and then invoked through this API, for example:Chrome.i18n.getMessage (' Extna
Abstract: It seems that no detailed Chinese documents have been provided on the Internet to describe how to use cakephp to implement i18n. Just yesterday, I was forced to show the tips in the code with a little bit of experience, simple and ambitious .... It seems that no detailed Chinese documents have been provided on the Internet to describe how to use cakephp to implement i18n. It was just yesterday tha
It seems that no detailed Chinese documents have been provided on the Internet to describe how to use cakephp to implement i18n. It was just yesterday that I was forced to show the prompts in the code with a little bit of experience.
It seems that no detailed Chinese documents have been provided on the Internet to describe how to use cakephp to implement i18n. It was just yesterday that I was forced to show
What are i18n and l10n?
I18n is the abbreviation of internationalization. It means that there are 18 letters between I and N, which means the software is "internationalized". Similarly, l10n is the abbreviation of localization, that is, there are 10 letters between l and N, which means the software is "localized ".
Where does i18n and l10n come from? What are th
In-depth analysis of JavaWeb Item22 -- internationalization (i18n)I. Overview of international development
Internationalization of software: When developing software, you must enable it to respond to accesses from different regions and countries in the world at the same time, provide pages or data that meet the reading habits of visitors. Internationalization is also calledI18n(The reading method is I 18 n. It is said that the word internationaliza
1. Design of the originalbecause jfinal 's internationalization (i18n) support in JSP is not good, therefore, the idea of solving this short board. Implementation also considered several ways, and ultimately decided to use the most original JSP tags. Because the custom label is easy to implement in the JSP , the content is flexible and the function is more powerful, extensibility is good. 2. i18nlabel Custom i
For Some reasons, the system installed without Chinese support, resulting in the subsequent application of Chinese block garbled phenomenon, the solution is very simple, of course, is not re-installed, only the following three steps can be done. 1, install Chinese package: Yum-Y Groupinstall chinese-support installs all packages related to Chinese2, modify character encoding profile # VI/etc/sysconfig/i18n modified content as follows: LANG="ZH_CN. UTF
Example of using gettext in PHP to solve international problems (i18n ). There are many ways to achieve internationalization. many PHP frameworks have built-in i18n support, but most of them are implemented based on PHP arrays. this method is not recommended. At present, there are many popular and most common ways to achieve internationalization. many php frameworks have built-in
Configure and use i18n in SpringSpring i18n Configuration:
classpath:com/hupu/nac/i18n/message
Use i18n OF Spring:
Package com. joyce. enums; import java. util. locale;/*** language enumeration * @ author Joyce. luo * @ date 09:38:27 * @ version V3.0 * @ since Tomcat6.0,
Edit the/etc/sysconfig/i18n file. delete the original settings, copy the following LANG quot; zh_CN.GB18030 quot; SUPPORTED quot; zh_CN.GB18030: zh_CN: zh: en_US.UTF-8: en_US: en quot; SYSFONT q
Edit the/etc/sysconfig/i18n file. delete the original settings, copy the following LANG = "zh_CN.GB18030" SUPPORTED = "zh_CN.GB18030: zh_CN: zh: en_US.UTF-8: en_US: en" SYSFONT = "latarcyrheb-sun16" save, rest
As an example of the logon module in the SMP SDK Kapsel API, this module defaults to the English language pack.
In the execution
Cordova-d Platform Add AndroidCordova-d Plugin Add C:\SAP\MobileSDK3\KapselSDK\plugins\logon
After the command, there are two more language resource files in the project:
Plugins\com.sap.mp.cordova.plugins.logon\www\common\assets\i18n\i18n.properties
Platforms\android\assets\www\smp\logon\
Java framework --- Struts2 localization/internationalization (i18n), --- struts2i18n
Internationalization (i18n)Is planning and implementing products and services that enable them to easily adapt to specific local languages and cultures. This process is called localization. The process of internationalization is sometimes referred to as enabling translation or localization.
1. What is internationalization (i18n )?
I18n (International): According to Wikipedia, internationalization refers to the process of software design and decoupling from specific languages and regions. When the software is transplanted to different languages and regions, the software itself does not need to be changed or corrected in internal engineering.
Of course, the official definition is always very tal
called internationalization (International), or i18n for short. This is also the future trend of software development.
If I have installed different language packs and different fonts on the system, how does the system determine the language interface I want and call the relevant fonts? What files and variables are under control in the system?
In the RedHat and fcseries Linux systems, the default language file used by the system is/etc/sysconfig/
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.