Skip to content

CloudBeaver localization

Kseniia edited this page Aug 11, 2021 · 32 revisions

Not all localization comes from the Cloudbeaver source code, some of it comes from the backend side. So, if you want to, for example, change or create localization for database objects, you need to do it in another repository, that is https://github.com/dbeaver/dbeaver. Here is a guide how you can contribute to DBeaver localization https://github.com/dbeaver/dbeaver/wiki/Localization. To create or improve localization for Cloudbeaver interface follow these steps:

  1. Open https://github.com/dbeaver/cloudbeaver and fork repository

1

  1. Open Fork and go to File - Clone

  2. Enter your Github repository https://github.com/user_name/cloudbeaver and clone it to your local system

3

  1. Right click on devel branch and create new branch (name it, for example, italian-localization)

4

  1. Go to local repository files ../repository_name/webapp/packages/core-localization/src/locales. Duplicate en.ts file in the directory and name it as [locale-code].ts (e.g. it.ts for Italian)

  2. Open the created file and translate tokens to your language. Change en on [locale-code] in the file here export const defaultENLocale.

Here is the structure of the language tokens: ['token-name', 'token-value']. You need to change only the second part: 'token-value'. For example, if you want to translate the Loading... token, which is ['ui_processing_loading', 'Loading...'], it will look like this: ['ui_processing_loading', 'Caricamento in corso...'].

  1. Go back to Fork, open Local Changes, select your created file and press Stage

9

  1. Press Push

10

  1. Fill Commit Subject field and and commit the changes

11

  1. Open context menu for your branch and select Push to origin

  2. Go to Github and press Compare & pull request in your repository

  3. Write a description and create pull request

Here is Github instruction. You can use different IDEs to create pull requests.

CloudBeaver Documentation

User Guide

Installation

Configuration

CloudBeaver AWS

CloudBeaver Enterprise Edition

Deployment

Clone this wiki locally