Skip to content

Instantly share code, notes, and snippets.

@anushshukla
Created April 28, 2021 03:31
Show Gist options
  • Save anushshukla/4a5fe374e436c79ad0846d093701d23f to your computer and use it in GitHub Desktop.
Save anushshukla/4a5fe374e436c79ad0846d093701d23f to your computer and use it in GitHub Desktop.
Internationalisation Guidelines

Table Schema -> User Preferences

  • UserPreferenceId
  • UserId
  • UserPreferredCurrency
  • UserPreferredLanguage
  • UserPreferredTimezone
  • UserPreferredDateFormat
  • UserPreferredTimeFormat
  • UserPreferredNumberFormat

Capturing users regional info

  • Auto detect current region using the below methods and ask User's consent for changing the preferences
    • ISP
    • GPS
    • Locale (Mobile Apps specific)
  • API for saving user preferences

Using Google Translation API as a micro service for translation at the client side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment