/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/ |
H A D | intl_test.cpp | 142 vector<string> locales; variable 240 vector<string> locales; variable 273 vector<string> locales; variable 304 vector<string> locales; variable 339 vector<string> locales; variable 370 vector<string> locales; variable 398 vector<string> locales; variable 438 vector<string> locales; variable 518 locales.clear(); 1124 locales.clear(); [all …]
|
H A D | intl_number_format_test.cpp | 44 vector<string> locales{locale}; variable 56 std::unique_ptr<NumberFormat> numFmt = std::make_unique<NumberFormat>(locales, options); 74 vector<string> locales{locale}; variable 86 std::unique_ptr<NumberFormat> numFmt = std::make_unique<NumberFormat>(locales, options); 104 vector<string> locales{locale}; variable 116 std::unique_ptr<NumberFormat> numFmt = std::make_unique<NumberFormat>(locales, options); 134 vector<string> locales{locale}; variable 146 std::unique_ptr<NumberFormat> numFmt = std::make_unique<NumberFormat>(locales, options); 164 vector<string> locales{locale}; variable 176 std::unique_ptr<NumberFormat> numFmt = std::make_unique<NumberFormat>(locales, options); [all …]
|
H A D | intl_test_extent.cpp | 496 vector<string> locales; variable 497 locales.push_back(locale); 608 vector<string> locales; variable 609 locales.push_back("en-GB"); 650 vector<string> locales; variable 682 vector<string> locales; variable 731 vector<string> locales; variable 783 vector<string> locales; variable 830 locales.push_back(locale); 860 locales.push_back(locale); [all …]
|
/ohos5.0/base/global/i18n_lite/frameworks/i18n/src/ |
H A D | data_resource.cpp | 186 char *locales = reinterpret_cast<char *>(I18nMalloc(localeSize)); in PrepareData() local 187 if (locales == nullptr) { in PrepareData() 190 int32_t readSize = read(infile, locales, localeSize); in PrepareData() 192 I18nFree(static_cast<void *>(locales)); in PrepareData() 198 GetFallbackAndDefaultLocaleIndex(fallbackLocaleIndex, defaultLocaleIndex, locales); in PrepareData() 209 locales); in PrepareData() 210 I18nFree(static_cast<void *>(locales)); in PrepareData() 234 char *locales) in GetFallbackAndDefaultLocaleIndex() argument 245 uint32_t &fallbackConfigOffset, uint32_t &defaultConfigOffset, char* locales) in GetFallbackAndDefaultInfo() argument 443 int32_t DataResource::BinarySearchLocale(const uint32_t mask, unsigned char *locales) in BinarySearchLocale() argument [all …]
|
/ohos5.0/docs/en/application-dev/internationalization/ |
H A D | i18n-l10n.md | 4 …locales have different cultural backgrounds and speak different languages. Therefore, if your appl… 7 …its of measurement, phone numbers, calendars, and languages of different locales, while the time z… 10 …locales and hard code commas as the number group separators in the application code. Another examp… 13 …resources to meet users' language and cultural requirements in dedicated locales. It fulfills the …
|
H A D | i18n-user-preferences.md | 5 …locales and application preferred languages, the system supports setting of user preferences. Curr…
|
H A D | i18n-calendar.md | 5 …locales use different calendars. To be specific, the Gregorian calendar is used in most locales, w…
|
H A D | l10n-multilingual-resources.md | 6 … application properly loads the content specific to different countries, locales, and languages, y…
|
H A D | i18n-numbers-weights-measures.md | 19 …If you pass in a list of locales, the first valid locale will be used. If you do not pass in any l…
|
H A D | i18n-time-date.md | 172 The following uses the relative time **one day ago** and locales **fr-FR** and **en-GB** as an exam…
|
/ohos5.0/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/ |
H A D | LocaleList.java | 43 public LocaleList(int startOffset, HashMap<String, Integer> locales, Map<Integer, in LocaleList() argument 46 this.size = locales.size(); in LocaleList() 48 for (Map.Entry<String, Integer> next : locales.entrySet()) { in LocaleList()
|
H A D | DataFetcher.java | 257 ArrayList<String> locales = new ArrayList<>(LOCALES.keySet()); in writeLocales() local 258 locales.sort(new Comparator<String>() { in writeLocales() 264 for (String locale : locales) { in writeLocales() 268 jsonObject.put("locales", locales); in writeLocales()
|
/ohos5.0/base/global/i18n_lite/frameworks/i18n/include/ |
H A D | data_resource.h | 110 int32_t BinarySearchLocale(const uint32_t mask, unsigned char *locales); 120 char *locales); 122 uint32_t &fallbackConfigOffset, uint32_t &defaultConfigOffset, char *locales);
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
H A D | global.c | 209 char *locales[] = {tempLocale, ""}; in GLOBAL_GetValueById() local 211 if (GLOBAL_GetValueByIdInternal(id, path, locales[i], value) == MC_SUCCESS) { in GLOBAL_GetValueById() 280 char *locales[] = {tempLocale, ""}; in GLOBAL_GetValueByName() local 282 if (GLOBAL_GetValueByNameInternal(name, path, locales[i], value) == MC_SUCCESS) { in GLOBAL_GetValueByName()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js-lite/ |
H A D | js-lite-framework-localization.md | 3 …rsions in different languages, and your users can switch between various locales. This also facili… 34 - Use the **$t** function to reference to resources of different locales. The **$t** function is av…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/ |
H A D | js-service-widget-multiple-languages.md | 4 …rsions in different languages, and your users can switch between various locales. This also facili… 59 …Use the **$t** function to reference to resources of different locales. The **$t** function is ava…
|
H A D | js-service-widget-basic-clock.md | 22 …bers generated by the **\<clock>** component support multiple number formats in different locales.|
|
/ohos5.0/base/global/i18n/ |
H A D | README.md | 34 …he system settings to adapt to the cultural habits of users in different locales. For details, see…
|
/ohos5.0/docs/en/device-dev/quick-start/ |
H A D | quickstart-pkg-install-package.md | 13 …tinfo5 libncurses5-dev libncursesw5 libstdc++6 gcc-arm-none-eabi vim ssh locales libxinerama-dev l…
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | js-framework-multiple-languages.md | 3 …rsions in different languages, and your users can switch between various locales. This also facili… 94 Use the **$t** function to reference to resources of different locales. The **$t** function is avai…
|
/ohos5.0/base/global/i18n/frameworks/intl/src/ |
H A D | number_format.cpp | 146 std::vector<std::string> locales = { locale }; in CreateRelativeTimeFormat() local 147 relativeTimeFormat = std::make_unique<RelativeTimeFormat>(locales, in CreateRelativeTimeFormat()
|
H A D | locale_config.cpp | 492 const unordered_set<string> &locales = GetSupportedLocales(); in GetRelatedLocales() local 493 for (string locale : locales) { in GetRelatedLocales()
|
/ohos5.0/docs/zh-cn/device-dev/quick-start/ |
H A D | quickstart-pkg-install-package.md | 13 …sudo apt-get install vim; sudo apt-get install ssh; sudo apt-get install locales; sudo apt-get ins…
|
/ohos5.0/docs/docker/ |
H A D | Dockerfile | 23 && apt-get install -y vim ssh locales \
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-build-all.md | 80 …nfo5 libncurses5 libncurses5-dev libncursesw5 libstdc++6 gcc-arm-none-eabi vim ssh locales doxygen
|