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

  1. Enter your Github repository https://github.com/user_name/cloudbeaver to URL and hit Clone to clone repository to your local system

3

  1. Right click on devel branch and select New Branch

4

  1. Enter a new branch name (for example, italian-localization) and hit Create and Checkout

5

  1. Go to local repository files ../repository_name//webapp/packages/core-localization/src/locales

6

  1. 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 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, then hit Stage

9

  1. Press Push on the top toolbar and in the pop up

10

  1. Fill Commit Subject field and hit Commit

11

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

12_correct

12_correct2

  1. Enter your Github credentials

13_creds

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

14

  1. Write a description and create pull request

15

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