Application: Language
Introduction
In casewhere system, most projects are used by multinational and multilingual clients. To satisfy their needs, we created the Language component, this component provides a way to manage multiple language packages and we can import or export those packages to different products.
Features
Manage language
The application provides two pages to manage and settings language.
Settings
The settings page is used to settings for language where is the place users can generate default language data by clicking Init button. All default languages are in a JSON file which is stored on the back end site. If you click Init button twice the system will clear all existing languages and re-generate new data. Hence, you must consider when using the initialization data feature.
To initialization data in the settings page, click on Init button
After that, the confirmation dialog of Settings will be opened with two options Yes/No.
All default languages will be listed in the JSON file. You can modify their values based on your needs.
Language list
Language list page is used to manage language data. In Language list page, you can view all created languages, also add, edit, delete, import, export the language data.
The following information must be provided when creating/editing a language:
- Language name: The name of language. This field is required and unique.
- Order number: This field defines priority of language you want to show. This field is optional.
- Description: This field is used to describe information for language. This field is optional.
- Is active: This field is status of language. The default value is Active.
Delete a language:
To delete a language, click on Delete button. Then, a confirmation dialog will be displayed. If you select Yes button, the language will be deleted immediately. If you select No button, the deletion will be cancelled.
- Note: If you delete language is in use in the system it may cause errors.
Import language data:
To import language data, click on Import button to open Import Language dialog. Then, click on the placeholder of File upload field to open file selection dialog. After selecting JSON file to import, click on Import button to import languages from the JSON file. If you do not want to execute the import process, click on Cancel button.
- Note: All languages that exist in the destination environment will be overridden. (Detected by language name)
Export language data:
To export 1 or several languages in the list, select languages, then click on Export button. Then, the JSON file of selected languages will be downloaded immediately.
Installation
Requirements
- Casewhere 2.6.10 or later
Configuration
- Import the product
- Link the page to your worker sites and configure access control
- You can generate default data in the settings page
Dependencies
- None
Releases
1.0.0 - 04/04/2022
Changelog
- Administration interfaces for managing languages.
- Import/export languages.
Download (login required): Language v1.0.0
Roadmap
- No plan as of now.