();
}
Specify the language by URL
We have moved the content to the resource file, but our program does not support localization because there is no place where we can set the specified language. For the sake of simplicity, we will use the URL to indicate the language of choice (similar to the Microsoft Web
I. Application name Localization
I have read a lot of methods before xcode5 on the Internet, but I can't use xcode5.0.2 on the Internet. I tried it myself (Environment os10.9.4, xcode5.1.1 ), it took a lot of time to record the entire process.
1. Click project -- info -- localizations -- "+" and select Chinese (traditional) (zh-Hans)
2, click Finish, the project will be two files en. lproj, zh-Hans.lproj
3. In the current file structure, add cfbundl
Original URL: http://www.jianshu.com/p/2b7743ae9c90Discussion of multi-language settings in iOS apps, Ok is generally two things:
1. Automatically toggle display based on current device language
2. Language settings are available in the app
So far, 6 of the projects I've personally done involve multiple languages, all of which need to be set up
In iOS files, the default application language is English. Some friends want to change the language to Chinese. How can this problem be solved? On the Internet, I saw some friends asking how to create iOS? Below are some answers to these questions! Hope to help you.
Before using the localization language, let's take a
Ios multi-language localization ideas
Ios programs implement multi-language Localization Methods. Recently, we have to localize a game in multiple languages. I have found some solutions on the internet, and I have compiled a set of solutions with my own thoughts to share with you!
There are two common approaches for mu
The Asp. Net Core MVC project implements multi-language instances (Globalization/Localization) and mvclocalization.
Recently, we have implemented a multi-language function for a Razor MVC project, such as Globalization, Localization, and whatever. The final result is to switch the full-site
The Asp. Net Core MVC project implements multi-language (Globalization/Localization) and mvclocalization.
Recently, we have implemented a multi-language function for a Razor MVC project, such as Globalization, Localization, and whatever. The final result is to switch the full-site
No matter in the Web page or the software on the login time will encounter the problem of verification code, do not know the secret of the Code of the Friends have no interest together to explore.In fact, there is no mystery, that is, to generate random numbers, and then let the resulting random number as the word repertoires (pre-made digital letter string) subscript, so from the word repertoires randomly extracted from the composition of the small string is the simplest string, of course, you
Just recently in the hands of a razor MVC project to achieve a multi-lingual function, called globalization or localization, whatever. The ultimate effect is to switch the entire station language with one click, and only write a set of pages when developing.Get down to the chase.First, we will create a Cultureconfigurer class for managing localized resources and completing the "translation" process:I use st
Brief Introduction
The localization of the language in iOS is simple, just to make a simple record of the process. A, localized storyboard on the string
1. Create an application (e.g. project name: Localizationdemo)2. Add localized files3. Add a label to the Main.storyboard and set the content to settingAt this point, we look at the Main.strings (Chinese (Simplified)) file, which is empty.4. In order for t
Sometimes theme development will encounter multiple language support requirements, but the other language you are not necessarily familiar with (such as German), so generally this part of the customer to the translation of their own. But what is more convenient? Always can not let the customer to change the theme of the language pack, usually the development of t
/downloadGettext-runtime-X.zip andThe latest version of the gettext-tools-X.zip (Note: X is the version number)
2. ReplaceDecompress the bin \ directory and put it in the same folder, for exampleC: \ Program Files \ gettext-utils
3. Set the system environment variables and add them to the system environment variables.; C: \ Program Files \ gettext-utils \ bin (the specific path depends on the gettext installation path)
The storage structure of Django
Multiple languages typically have two approaches in an application:
One, the procedure provides to the user oneself choice opportunity;
Second, according to the current user mobile device language automatically switch our app to the corresponding language.
The first approach is relatively simple and completely rely on their own play, here is mainly about the second approach, mainly divided into a number
This blog will introduce the multi-language production of WordPressYou first need to create a languages folder in the Wp-content directory to hold the language pack files.Then in the template directory of the functions.php, and then add the function in the code to load the folder, the sample code is as follows:Add_action ('after_setup_theme'alanhou_setup'); function Alanhou_setup () { load_theme_textdomain
quickly identify the difference between full-width and half-width symbols, such as ";" and ";", ":" and ":". Even if it can be identified, it is annoying to constantly switch the full-width half-width state in programming. Therefore, I think Chinese programming is best not to confuse users with full-width half-width symbols. In the intimate number programming language, I chose to relax the restrictions on the program. such as the full-width of the nu
Create a new text, name Localization (must be the name), file name: Localization.txt, Content format: KEY, language name 1, language name 2 ...,Place the Localization.txt in the resources root, and then create a new Uilabel to add script Uilocalize to the Uilabel object (ngui->attach->localization Script),Fill in the k
string resources, create a window wintest. Xmal
xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation%22
xmlns: x =" http://schemas.microsoft.com/winfx/2006/xaml%22
X: class = "Exio. nr. WPF. designer. wintest "
X: Name =" window "
Title =" wintest "
width =" 640 "Height =" 480 ">
Step 3: Use msbuilder to compile
Open the project file XXX in text. csproj: Add
Run msbuilder to compile the SDK. For details about the com
; } }View CodeWe see that in the parameterless constructor, the system initializes the Defaultrequestculture and Requestcultureproviders. The system iterates through the requestcultureproviders to find the appropriate language and uses defaultrequestculture when no suitable language can be found.
Requestcultureproviders: Default initialization of three multi-la
I. cocos2d-x built-in code Introduction
Note that the localization of the cocos2d-x needs to be tested on a real machine. It is not integrated with the solution and needs to be designed by itself. The only function provided is as follows:
Definition in cccomment. h:
typedef enum LanguageType{ kLanguageEnglish = 0, kLanguageChinese, kLanguageFrench, kLanguageItalian, kLanguageGerman, kLanguageSpanish, kLanguageRussian, kLanguage
>Head> title>@viewdata["Title"]-@localizer["Sitetitle"]title>Head>Body>Body>HTML>Then create the Resources folder in the ASP. NET Core Web project, where you add the Views.shared._layout.en-us.resx and Views.shared._layout.zh-cn.resx files separately, Vi Ews. Shared._layout.resx file and add the statement text corresponding to "Sitetitle":1) Views.shared._layout.en-us.resx2) Views.shared._layout.zh-cn.resxWhen you run an ASP. NET Core site, it is based on the browser's
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.