-
Notifications
You must be signed in to change notification settings - Fork 393
Package localization
DBeaverDevOps edited this page Jun 19, 2024
·
11 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 the localization for database objects, you need to do it in another repository, that is https://github.com/dbeaver/dbeaver. Here is a guide on how you can contribute to dbeaver localization https://github.com/dbeaver/dbeaver/wiki/Localization.
To create or improve the localization for Cloudbeaver follow these steps:
- Fork repository https://github.com/dbeaver/cloudbeaver.
- Clone it to your local system.
- Make a new branch (for example, italian-localization).
- Find the package you want to change the localization in.
In Cloudbeaver all translatable resources are located in the locales folder. The path to the folder is [package-name]\src\locales\[locale-code].ts.
For example, you can find basic UI language tokens in the core-localization\src\locales\[locale-code].ts file. - Create localization file.
For example, if you want to add localization for the Italian language createit.ts
file next to theen.ts
file in the directory we have discussed before. After that, copy all content from theen.ts
file to theit.ts
file. - Translate tokens to your language.
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 wanted to translate the Loading... token, which is['ui_processing_loading', 'Loading...']
, it would look like this:['ui_processing_loading', 'Caricamento in corso...']
. - Commit and Push your changes back to your repo.
- Click the Compare & pull request button.
- Click Create pull request to open a new pull request (in branch
devel
) https://help.github.com/articles/creating-a-pull-request-from-a-fork/.
To find the right localization files, you can go to https://github.com/dbeaver/cloudbeaver -> press Go to file -> paste en. in the input and you should see all available localization files.
- Application overview
- Demo Server
- Administration
- Server configuration
- Create Connection
- Connection Templates Management
- Access Management
-
Authentication methods
- Local Access Authentication
- Anonymous Access Configuration
- Reverse proxy header authentication
- LDAP
- Single Sign On
- SAML
- OpenID
- AWS OpenID
- AWS SAML
- AWS IAM
- AWS OpenId via Okta
- Snowflake SSO
- Okta OpenId
- Cognito OpenId
- JWT authentication
- Kerberos authentication
- NTLM
- Microsoft Entra ID authentication
- Google authentication
- User credentials storage
- Cloud Explorer
- Cloud storage
- Query Manager
- Drivers Management
- Supported databases
- Accessibility
- Keyboard shortcuts
- Features
- Server configuration
- CloudBeaver and Nginx
- Domain manager
- Configuring HTTPS for Jetty server
- Product configuration parameters
- Command line parameters
- Local Preferences
- API
-
CloudBeaver Community
-
CloudBeaver AWS
-
CloudBeaver Enterprise
-
Deployment options
-
Development