History log of /expo/packages/expo-localization/src/Localization.types.ts (Results 1 – 8 of 8)
Revision Date Author Comments
# 58fd9d6a 25-Aug-2023 Wojciech Dróżdż <[email protected]>

[localization] Add default temperature unit to the locale (#24059)

# Why

We want to add a temperature unit field which will return the
temperature unit used in the region
ENG-6859

# How

O

[localization] Add default temperature unit to the locale (#24059)

# Why

We want to add a temperature unit field which will return the
temperature unit used in the region
ENG-6859

# How

On iOS the unit is based on the current settings in the region tab of
the settings app (note: settings values are ignored in iOS simulator so
any testing in the future should be done on a physical device)
On Android and web a list of regions which use fahrenheit is used and
compared with the current device region.

# Test Plan

Tested in Bare Expo on Android 13, iOS 16 and web

---------

Co-authored-by: Expo Bot <[email protected]>

show more ...


# 52d64055 20-Jun-2023 aleqsio <[email protected]>

[expo-localization] Add hooks, config plugin changes and more features to expo-localization (#22763)


# 17185210 05-Oct-2022 aleqsio <[email protected]>

[ENG-6235][localization] Add sync methods to expo localization (#19019)

Co-authored-by: Łukasz Kosmaty <[email protected]>
Co-authored-by: Tomasz Sapeta <[email protected]>
Co

[ENG-6235][localization] Add sync methods to expo localization (#19019)

Co-authored-by: Łukasz Kosmaty <[email protected]>
Co-authored-by: Tomasz Sapeta <[email protected]>
Co-authored-by: Aman Mittal <[email protected]>
Co-authored-by: Bartosz Kaszubowski <[email protected]>

show more ...


# 669ac6e6 04-Apr-2022 Bartosz Kaszubowski <[email protected]>

[docs] APISection: improve default value in tables, small tweaks (#16880)


# d1736fc2 23-Feb-2021 Hein Rutjes <[email protected]>

[localization] Add currency, separators, isMetric and update region (#11663)

Adds the region property for Android and 4 new properties: currency, decimalSeparator, groupingSeparator and isMetric.


# 605612f5 18-Jun-2020 Evan Bacon <[email protected]>

[localization] Added SSR support (#8824)

* Added node support

* fix iso code bug on web

* Update CHANGELOG.md

* Update packages/expo-localization/src/Localization.ts

Co-authored-by: Mich

[localization] Added SSR support (#8824)

* Added node support

* fix iso code bug on web

* Update CHANGELOG.md

* Update packages/expo-localization/src/Localization.ts

Co-authored-by: Michał Czernek <[email protected]>

* updated build files

Co-authored-by: Michał Czernek <[email protected]>

show more ...


# f2c6b866 23-Aug-2019 Łukasz Kosmaty <[email protected]>

[Localization] Introduce `Localization.region` (#4921)

# Why

Resolve #4540.

# How

Country variable on Android came from currently selected language, however on devices with iOS country was

[Localization] Introduce `Localization.region` (#4921)

# Why

Resolve #4540.

# How

Country variable on Android came from currently selected language, however on devices with iOS country was got from `Region` in `Language & Region`.
Not all android phone provide `Region` setting, so I suggest renaming Localization.country to Localization.region and make it available only on iOS.

# Test Plan

You can check it on https://snack.expo.io/@lukaszkosmaty/9e807b.
I also updated test-suits.

show more ...


# 9b253272 07-Feb-2019 Evan Bacon <[email protected]>

Migrate expo-localization to TypeScript (#3398)

* Migrated to TypeScript

* Added tests

* Update config.yml

* Update LocalizationScreen.js

* Update Expo.ts

* Update packages/expo-local

Migrate expo-localization to TypeScript (#3398)

* Migrated to TypeScript

* Added tests

* Update config.yml

* Update LocalizationScreen.js

* Update Expo.ts

* Update packages/expo-localization/README.md

Co-Authored-By: EvanBacon <[email protected]>

* Fixed API

* Update Localization-test.ts

* Remoevd type export

show more ...