GKSHOP
Web StoreDiscord
  • 👋GKSHOP Documentation
  • INFORMATION
    • ⁉️FAQ
    • 💡Discord Roles
    • ⚠️FiveM Asset Escrow System
  • GKSPHONE v2
    • 📔Installation
    • ❓Documentation
    • 👷Exports
      • Client
      • Server
    • 🪛Custom App
    • Configuration
      • Unique phones
      • Custom inventory
      • Custom Wallpapers
      • Custom ringtones and notifications
      • Apps
      • Currency
    • Common Issues
    • 🚒Job Center
  • GKSPHONE v1
    • 📱ESX
      • 📔Installation
      • ❓Documentation
      • Application Usages
      • Developers
        • Server Event
        • Client Event
    • 📱QB
      • 📔Installation
      • ❓Documentation
      • Application Usages
      • Developers
        • Server Event
        • Client Event
  • Other Products
    • ⚒️GKSCRAFT
      • 📘Installation
      • Config
      • Developers
        • Server Event
    • ⛽GKS FUEL
      • 📔Installation
      • Config
      • Exports
    • 📸Media Services (GKSMEDIA)
    • 📲GKSPHONE Real App
  • OTHER
    • Policy
      • Privacy Policy
Powered by GitBook
On this page
  • Step 1: Locate the Language Files
  • Step 2: Update the PHONE_SETTINGS_NUMBERFORMAT Setting
  • Step 3: Define the Currency Format for Each Language
  • Restart the phone
  1. GKSPHONE v2
  2. Configuration

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.

PreviousAppsNextCommon Issues

Last updated 4 months ago