Steps to add a new language

🎯 Language Configuration Process

New languages can be added through the Gateway Manager administrative interface using specific configuration steps.


📋 Configuration Method

  • Administrative Interface: Use Localization screen in Gateway Manager\
  • Reference Documentation: See "Localization" section of REL-ID Gateway Manager Admin Manual
  • Configuration Type: Language-specific configurations added through admin interface
  • Activation: Language chooser appears automatically after configuration

🖼️ Image Localization Process

📁 Supported Images for Localization

The system supports localization for two specific images:

1. Email OTP Image\

  • File Name: otp_genrate.jpeg
  • Purpose: Displayed during email OTP authentication process
  • Localization: Can be customized for different languages/regions

2. SMS OTP Image\

  • File Name: otp_image.jpeg
  • Purpose: Displayed during SMS OTP authentication process
  • Localization: Can be customized for different languages/regions

📂 Directory Structure Setup

Step 1: Create Base Directory\

  • Location: authserver directory on the server
  • Action: Create static/images directory inside authserver
  • Path Structure: authserver/static/images/
  • Permissions: Ensure appropriate file system permissions

Step 2: Create Locale-Specific Directory
Parent Directory: Inside the static/images directory • Naming Convention: Use locale identifier (e.g., es-ES for Spanish - Spain) • Example Path: static/images/es-ESMultiple Languages: Create separate directories for each locale

Step 3: Add Localized Images\

  • Source Images: Create locale-specific versions of supported images

  • File Naming: Use exact same file names as original images:

  • otp_genrate.jpeg (Email OTP image)

  • otp_image.jpeg (SMS OTP image)\

    • Image Placement: Place customized images in locale-specific directory
    • Quality Standards: Maintain consistent image quality and dimensions

Step 4: Server Integration\

  • Automatic Detection: Portal automatically detects locale-specific images
  • Service Integration: Images served based on user's selected language
  • Fallback Behavior: Default images used if locale-specific versions unavailable

🔄 Complete Setup Example


⚙️ Implementation Requirements

  • Manual Process: Admin must manually place images on server\
  • File System Access: Requires server file system access
  • Naming Consistency: Exact file names must match original specifications
  • Directory Permissions: Proper permissions needed for web server access