History log of /expo/packages/expo-localization/src/Localization.ts (Results 1 – 14 of 14)
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 ...


# aa785b52 04-Aug-2023 aleqsio <[email protected]>

[expo-localization] Change tsdocs to redirect to correct method (#23811)

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


# 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)


# c8c9d6e8 21-Sep-2021 Bartosz Kaszubowski <[email protected]>

[tools][docs] bump TypeDoc, migrate to @example annotation (#14465)


# c1e3b3a3 08-Jun-2021 Bartosz Kaszubowski <[email protected]>

[localization] add doc comments in source (#13210)


# 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 ...


# 87692968 26-Feb-2020 Łukasz Kosmaty <[email protected]>

[expo] Export types (#7120)

* [location] Export missing types (#7079)

# Why

Part of https://github.com/expo/expo/issues/7077, resolves #4422

# How

Exports:
- LocationTaskOptions
- Regi

[expo] Export types (#7120)

* [location] Export missing types (#7079)

# Why

Part of https://github.com/expo/expo/issues/7077, resolves #4422

# How

Exports:
- LocationTaskOptions
- Region
- LocationCallback
- HeadingCallback

* [expo-analytics-amplitude] Export types (#7078)

* [expo-error-recovery] Export types (#7084)

* [expo-background-fetch] Export types (#7081)

* [expo-barcode-scanner] Export types (#7082)

* [expo-gl] Export types (#7085)

* [expo-image-picker] Export types (#7087)

* [expo-mail-composer] Export types (#7094)

* [expo-localization] Export types (#7092)

* [expo-local-authentication] Export types (#7090)

* [expo-intent-launcher] Export types (#7089)

* [expo-in-app-purchases] Export types (#7088)

* [expo-screen-orientation] Export types (#7109)

* [expo-sms] Export types (#7108)

* [expo-speech] Export types (#7107)

* [expo-web-browser] Export types (#7106)

* [expo-video-thumbnails] Export types (#7105)

* [expo-blur] Export types (#7113)

* [expo-camera] Export types (#7114)

* [expo-linear-gradient] Export types (#7115)

* [expo-sensors] Export types (#7116)

* [expo-sharing] Export types (#7117)

* [expo-av] Export types (#7111)

* [expo-av] Export types

* [expo-av] Fix CI

* [expo-blur] Type prefixing

* [expo] Prefix types

* [expo-camera] Fix typo

* [expo-error-recovery] Use record type

* [expo] Apply requested changes

* [expo] Rebuilt packages

* [expo] Update changelog

show more ...


# 92f6de58 14-Feb-2020 Will Schurman <[email protected]>

[eslint-config-universe] Add import ordering alphabetization (#7038)


# 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 ...


# 4eee8501 14-Mar-2019 Evan Bacon <[email protected]>

localization link sanitization + attribution (#3730)

* Unified language format

* cited all java logic

* Update EXLocalization.m

* Removed links to own code


# 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 ...