locales.h
来自「这是VCF框架的代码」· C头文件 代码 · 共 39 行
H
39 行
#ifndef _VCF_LOCALES_H__#define _VCF_LOCALES_H__//Locales.h/*Copyright 2000-2004 The VCF Project.Please see License.txt in the top level directorywhere you installed the VCF.*/#if _MSC_VER > 1000# pragma once#endifnamespace VCF {class LocalePeer;class MessageLoader;/**\class Locale Locales.h "vcf/FoundationKit/Locales.h"A locale instance represents the cultural data used to convert data to stringin manner appropriate to the language and country. Each locale is identifiedby a language and a country code, where the language code is one of the possiblevalues as listed by<a href="http://www.loc.gov/standards/iso639-2/langcodes.html">ISO-639-1</a>,and the country code is one of the possible values as listed in<a href="http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html">ISO-3166</a>. The complete locale is referred to as a combination of both these values,for example, the french locale is referred to as "fr_FR", and the United States localeis referred to as "en_US".A locale offers a variety of methods to translate data into a string, based on the rulesof the locale. For example, monetary units are represented by the dollar symbol ("$")in the "en_US" locale, but the United Kindom ("en_GB") are represented by the pound ("
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?