Mstoreapp
  • WooCommerce App Docs
  • Getting Started
  • Theming your app
  • OneSignal Push Notification
  • Sending Push to Specific Category, Product and Post
  • Cross-sell and Upsell products
  • Dynamic Blocks
  • Multi Vendor and Vendor Type
  • Geolocation
  • Translation
  • Social Login (for ionic 3 app)
  • Account kit integartion (for ionic 4 app)
  • Social Login (for ionic 4 app)
  • Frequently asked questions (FAQ)
  • Customization
  • Try demo for your own site
Powered by GitBook
On this page

Translation

The app will detect WPML languages and customers can choose the language in the account section. You have to add all translation language you use in app/src/assets/i18n/ folder

  1. Copy and en.json file and rename to your language. example fr.jon

  2. Translate right side words to your language

  3. Set default language in app/src/app/app.component.ts file inside ngAfterViewInit function. fr is the file name you have created in app/src/assets/i18n/ folder. you have to replace en with fr

this.translateService.setDefaultLang('fr');

4. If you want to change the app direction to RTL. Uncomment below code in app/src/app/app.component.ts file

document.documentElement.setAttribute('dir', 'rtl');
PreviousGeolocationNextSocial Login (for ionic 3 app)

Last updated 4 years ago