For the complete documentation index, see llms.txt. This page is also available as Markdown.

Currency

The application's currency format can be customized for each language by modifying the lang.json files located in the gksphone/config/locales directory.

Step 1: Locate the Language Files

  • Navigate to the gksphone/config/locales directory.

  • Each language has its own JSON file (e.g., en.json for English, de.json for German).

Step 2: Update the PHONE_SETTINGS_NUMBERFORMAT Setting

In each language file, there is a key named PHONE_SETTINGS_NUMBERFORMAT that determines the number format and currency for that language.

Example Format:

"PHONE_SETTINGS_NUMBERFORMAT": "en-US",

This specifies the en-US locale, which uses the dollar symbol ($) for currency.

Step 3: Define the Currency Format for Each Language

Here are some examples of common locale codes and their corresponding currencies:

Locale Code
Currency Symbol

en-US

$ (US Dollar)

de-DE

(Euro)

en-GB

£ (British Pound)

fr-FR

(Euro)

ja-JP

¥ (Japanese Yen)

tr-TR

(Turkish Lira)

Update the PHONE_SETTINGS_NUMBERFORMAT in each file based on the desired currency.

Search for "APP_CURRENCY" in the language file and change the currencies in that section to your liking

Restart the phone

You need to restart the phone for the changes to take effect.

Last updated