Magento 2 Multi Company SaaS ExtensionMagento 2 Multi Company SaaS Extension
Live Demo
Buy Now
Support
Live Demo
Buy Now
Support
  • Getting Started

    • Introduction
    • Requirements
    • Installation
  • Admin Configuration

    • General Settings
    • Payment Gateways
    • Multilingual & Translation
  • Membership Management

    • Duration Types
    • Subscriptions
    • Seller Assignment
  • Seller Workflow

    • Subscription & Checkout
    • Subdomain & Theme Settings
  • Verification & Help

    • Troubleshooting
    • FAQ & Support

Multilingual & Language Translation

The Webkul Multi Company SaaS Extension for Magento 2 provides comprehensive multilingual localization. It natively supports both Left-to-Right (LTR) and Right-to-Left (RTL) reading directions, including Arabic, Hebrew, and Persian.


Language Translation (CSV Dictionary)

Module strings are localized using Magento standard CSV dictionary translation files.

Step 1: Locate Translation Files

Navigate to the module's translation directory:

app/code/Webkul/MpSaas/i18n/

Inside this directory, the base English dictionary en_US.csv is provided.


Step 2: Create a New Locale File

Duplicate en_US.csv and rename it to match your target store locale code (e.g., ar_SA.csv for Arabic — Saudi Arabia, fr_FR.csv for French, es_ES.csv for Spanish).

cp app/code/Webkul/MpSaas/i18n/en_US.csv app/code/Webkul/MpSaas/i18n/ar_SA.csv

Step 3: Edit Translated Strings

Open the newly created CSV file in any text editor. Translate the terms in the second column (enclosed in double quotes after the comma):

"Pay Membership amount","دفع مبلغ العضوية"
"Duration","المدة"
"Subscription Charge","رسوم الاشتراك"
"Remaining Days","الأيام المتبقية"

Translation CSV StructureFigure 5.1: Editing the localization CSV dictionary file.

RTL Layout Preview

When an RTL locale such as Arabic is configured, the storefront and seller portal automatically flip layout alignment:

Arabic RTL Storefront PreviewFigure 5.2: Seller SaaS interface localized into Arabic with full RTL support.


Multilingual Storefront Configuration

To switch the storefront language to your desired locale:

  1. Log in to the Magento Admin Panel.
  2. Navigate to Stores > Settings > Configuration > General > General > Locale Options.
  3. Choose the appropriate store view from the top-left Store View scope selector.
  4. Deselect Use Website and choose your target locale from the Locale drop-down (e.g., Arabic (Saudi Arabia)).
  5. Click Save Config.

Locale ConfigurationFigure 5.3: Configuring Locale Options in Store Settings.

  1. Flush Magento cache storage via terminal:
php bin/magento cache:flush
Prev
Payment Gateways