WaveMaker Docs

WaveMaker Docs

  • Get started
  • Widgets
  • Mobile
  • How-to
  • Enterprise
  • Releases
  • Blog
  • Sign-in

›Add-ons

Getting started

  • Introduction
  • Walkthrough

Pages

  • Pages Overview
  • Creating a Page
  • Layout and Styles

    • Page Layout
    • Templates
    • Themes
    • Accessibility

    Page Configure

    • Page Artefacts
    • Page Cache
    • Partial Page
    • Page Parameters
    • Examples

    Page Actions

    • Navigation
    • Events

    Custom Development

    • Theme Editor
    • Manual Theme
    • Create Template

SSPA

  • Micro Frontend App

Databases

  • Database Services Overview
  • Database Tools
  • Database Designing

    • Working with Databases
    • Data Modelling
    • DataBase Schema Modes
    • Working with DB Schema
    • Database Views
    • Temporal Support

    Accessing Database

    • Accessing Database

    Queries and Procedures

    • Working with Queries
    • Working with Stored Procedures
    • Version Queries & Procedures
    • Blob Queries and Procedures
    • Queries & Procedures - Java Services

    Database Variables & API

    • Database CRUD
    • CRUD Event Listeners
    • Database APIs
    • Database Service APIs

REST & SOAP

  • Web Services Overview
  • Restful

    • REST Services
    • Secure Server-side Properties
    • REST Request Timeouts
    • REST Services using OAuth 2.0

    SOAP

    • Working with SOAP Services
    • Imported SOAP APIs

    Websocket

    • Working with WebSockets

    APIs

    • API Designer
    • Mocking APIs
    • Mocking REST API
    • Swagger Import

    Variables

    • CRUD Variable
    • Service Variable
    • WebSocket Variable

Java Services

  • Java Service
  • Java Services

    • Java Integration Services
    • DB Service Integration
    • API Composition
    • Variables for Invocation
    • Generated REST APIs (API Designer)

    Java Services Variables & API

    • Variable for Java Service
    • Java Service APIs

    Source Files

    • Resources and Third-party Libraries
    • Using 3rd party JavaScript files
    • Using 3rd party jar files

Variables & Actions

    Variables

    • Variables Overview
    • Model Variable
    • Device Variables

    Binding

    • Variable Binding
    • Custom Formatter

    Actions

    • Actions
    • Navigation Action
    • Login Action
    • Logout Action
    • Timer Action
    • Notification Action

    Events

    • Events
    • JavaScript Access

Security

    App Security

    • Overview
    • Authentication
    • Authorization
    • Access Levels & Permissions
    • Login Configuration
    • Session Persistence
    • SSL Encryption
    • XSS antisamy policy configuration
    • OWASP
    • XSS Prevention
    • Central Authentication System
    • Token Based Authentication
    • SAML Integration
    • Secure Connection for Deployed Apps
    • Concurrent Sessions
    • HostHeader Injection

    Security Variable and API

    • Security Variables
    • Remember Me
    • Variable for Security Service
    • Security Service APIs

Developer options

  • Test and Run (Preview) Apps
  • Chrome Extension: Devtool
  • Debugging
  • Inspection Framework
  • Build Options
  • WaveMaker Mobile Apps Automation
  • Developer Integration

    • Project User Management
    • Developer Collaboration
    • Extending the Application using IDEs
    • Import, Export & Update Apps
    • Project Shells

    Add-ons

    • Localization
    • Artifacts Repository

Deployment

  • Overview
  • Deployment Profile
  • One-click Deployment
  • WaveMaker CI/CD Pipeline

    • Overview
    • Configuration Profiles
    • Configuration Management
    • Pipelines and Phases

    Pipeline Configuration

    • Default Pipelines in WMO
    • Configure Pipeline in WME

    Deploy to Cloud Providers

    • AWS
    • Azure
    • Google Cloud
    • DigitalOcean

    Pipeline Configuration cont.

    • Phase configurations
    • Webhooks Integration
    • Tests Integration

    Manage Deployed Apps

    • Manage Deployed Apps

    Integrate with your CI/CD Providers

    • Push Code to External repo
    • Custom VCS Integration
    • Export WaveMaker Application
    • Building Project with Maven
    • Build with Docker
    • Jenkins Integration
    • Deploy using Docker Compose
    • Deployment to Heroku

    WaveMaker apps Interation with CDN

    • App Integration with AWS CDN
    • App Integration with Azure CDN

    Deployment to external web servers

    • Application Server Overview
    • Deploy to Tomcat
    • WebSphere
    • JBoss - WildFly
    • WebLogic Server

Connectors

  • Introduction
  • Architecture
  • Import Connectors
  • List of Connectors
  • Build a New Connector

Teams

  • Overview
  • Team Setup
  • Dashboard
  • Manage Users
  • Manage Projects
  • Manage Prefabs
  • Project Branches
  • Manage Roles
  • Code Repository
  • Import VCS Project
  • Team Profile
  • Manage Subscription
  • FAQs
Edit

Localization


Localization is the adaptation of a product or service to meet the needs of a particular language, culture or desired populations’ look and feel. In WaveMaker, localization can be achieved at two levels:

  1. Application Localization which is the process of rendering your app in multiple languages. This is supported in the following ways:

    • From Project Settings, by setting the default language and date time formats, you can ensure that the app user gets to work in the set language and locale. For more information, see (click here for more).
    • Using the Select Locale widget end user can choose the language to render the application in (click here for more).

    For more information, see App Localization.

  2. Platform Localization can be used to enable the app developers to develop in their native language. This feature is available only in the Enterprise version. This process is discussed in detail in this document (click here for more);

Platform Localization

note

Available only for Enterprise Version from 10.GA release.

Setting Language Preference

  • You can set your personal preference, from Studio, by opening the Account Profile.
  • Edit Profile and choose the preferred language.
  • The Default Language for all users will be set from Launchpad by the Admin.

Adding Language Bundles

note

This is for the Advanced Developers only. To enable Locale support for Studio, language bundles need to be added to the following locations. By default, English and German language bundles are already bundled with the platform.

For Launchpad & EDN

To add a new locale support:

  1. Copy the en.properties file. Pick any file from any one location given below.
  2. Rename it to localeId properties. The localeId represents the language to support. For example, en for English and de for German.
  3. Make the appropriate changes to the content.
  4. Add the file at the following locations:
ModuleFile name with path
wavemaker-frameworkwavemaker-core/src/main/resources/locale/fwk_exception_messages_.properties
login-servicewavemaker-login/wavemaker-login-portal/src/main/resources/locale/login_exception_messages_.properties
wavemaker-login/wavemaker-login-portal/src/main/resources/locale/login_messages_.properties
wavemaker-login/wavemaker-login-portal/src/main/resources/locale/login_validation_error_messages_.properties
wavemaker-login/wavemaker-login-portal/src/main/resources/locale/login_validation_messages_.properties
edn-servicewavemaker-edn/wavemaker-edn-server/src/main/resources/locale/edn_activity_messages_.properties
wavemaker-edn/wavemaker-edn-server/src/main/resources/locale/edn_exception_messages_.properties
wavemaker-edn/wavemaker-edn-server/src/main/resources/locale/edn_notification_messages_.properties
wavemaker-cloud-commonswm-cloud-file-store/src/main/resources/locale/wm_fs_exception_messages_.properties
wm-cloud-ssl/src/main/resources/locale/wm_ssl_exception_messages_.properties

For Studio Frontend

This language bundle is used to change the Studio user interface. To add a new locale support:

  1. Copy the en.json file. Pick any file from any one location given below.
  2. Rename it to localeId.json. The localeId represents the language to support. For example, en for English and de for German.
  3. Make the appropriate changes to the content.
  4. Add the file at the following locations:
ModuleFile name with path
wavemaker-studiowavemaker-studio/wavemaker-studio-editor/src/main/webapp/editor/scripts/modules/i18n/messages
login-servicewavemaker-login/wavemaker-login-portal/src/main/resources/locale/login_exception_messages_.properties
wavemaker-login/wavemaker-login-portal/src/main/resources/locale/login_messages_.properties
wavemaker-login/wavemaker-login-portal/src/main/resources/locale/login_validation_error_messages_.properties
wavemaker-login/wavemaker-login-portal/src/main/resources/locale/login_validation_messages_.properties
edn-servicewavemaker-edn/wavemaker-edn-server/src/main/resources/locale/edn_activity_messages_.properties
wavemaker-edn/wavemaker-edn-server/src/main/resources/locale/edn_exception_messages_.properties
wavemaker-edn/wavemaker-edn-server/src/main/resources/locale/edn_notification_messages_.properties
wavemaker-cloud-commonswm-cloud-file-store/src/main/resources/locale/wm_fs_exception_messages_.properties
wm-cloud-ssl/src/main/resources/locale/wm_ssl_exception_messages_.properties

For Studio Backend

Studio makes use of module APIs to work with backend services. These language bundles contain mostly the error or success messages from the service. To add a new locale support:

  1. Copy the en.json file. Pick any file from any one location given below.
  2. Rename to localeId.json. The localeId represents the language to support. For example, en for English and de for German.
  3. Make the appropriate changes to the content.
  4. Add the file at the following locations:
ModuleFile name with path
wavemaker-frameworkwavemaker-core/src/main/resources/locale/fwk_exception_messages_.properties
login-servicewavemaker-login/wavemaker-login-portal/src/main/resources/locale/login_exception_messages_.properties
wavemaker-login/wavemaker-login-portal/src/main/resources/locale/login_messages_.properties
wavemaker-login/wavemaker-login-portal/src/main/resources/locale/login_validation_error_messages_.properties
wavemaker-login/wavemaker-login-portal/src/main/resources/locale/login_validation_messages_.properties
edn-servicewavemaker-edn/wavemaker-edn-server/src/main/resources/locale/edn_activity_messages_.properties
wavemaker-edn/wavemaker-edn-server/src/main/resources/locale/edn_exception_messages_.properties
wavemaker-edn/wavemaker-edn-server/src/main/resources/locale/edn_notification_messages_.properties
wavemaker-cloud-commonswm-cloud-file-store/src/main/resources/locale/wm_fs_exception_messages_.properties
wm-cloud-ssl/src/main/resources/locale/wm_ssl_exception_messages_.properties

Update Build Scripts

Once you add the language bundles, update the flyway script and initiate the build process for the languages to take effect.

New locale has to be inserted to the PostgreSQL Database, by adding the insert statement to the flyway script file.

Following are the instructions:

  • Go to the directory:

wavemaker-login-service/wavemaker-login/wavemaker-login-portal/src/main/resources/db_scripts/postgresql/

  • Add a flyway script file incrementing the version number.
    For example, if you have the recent version of flyway script as

wmlogin_v74__RBAC_model_permissions.sql,

Create a new file with the following name:

wmlogin_v75__new_locale_.sql

note

There are two underscores after the version number v75.

  • Add the following statement in the above newly created file, after replacing the placeholders for localeId, DisplayName, and Language.
INSERT INTO SUPPORTED_LOCALE (LOCALE_ID, DISPLAY_NAME, LANGUAGE) values (`'localeId'`, `'DisplayName'`, `'Language'`); 

For example to insert German locale:

`INSERT INTO SUPPORTED_LOCALE (LOCALE_ID, DISPLAY_NAME, LANGUAGE)`  
Values as `('de', 'German', 'German');`
  • Initiate the platform build.
  • Post-build, when developers log into the platform they will be able to see the language in their profiles for selection.
Last updated on 11/14/2019 by Swetha Kundaram
← Project ShellsArtifacts Repository →
  • Platform Localization
    • Setting Language Preference
    • Adding Language Bundles
    • Update Build Scripts
WaveMaker
  • PRICING
  • PARTNERS
  • CUSTOMERS
  • ABOUT US
  • CONTACT US
Terms of Use | Copyright © 2013-2023 WaveMaker, Inc. All rights reserved.