Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
dbe42ed3
Commit
dbe42ed3
authored
Oct 12, 2022
by
Tijmen de Mes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added readme for i18n
parent
682fc3ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
i18n.md
i18n.md
+38
-0
No files found.
i18n.md
0 → 100644
View file @
dbe42ed3
Blink Translations (i18n)
=========================
Translate
---------
Blink translations should be made using the 'Qt Linguist' program.
You need to open
`resources/i18n/blink__LANGUAGE_CODE__.ts`
and translate the text.
After you're done, save the file and run
`release_translations`
.
Update translation files
------------------------
To update the translation files with the newly added text if the application changed you need to run:
`generate_translations`
Adding a language
-----------------
If you want to add a language to Blink, you need to change
`blink-qt.pro`
and add the language in the
`TRANLATIONS`
line.
The format needs to be
`resources/i18n/blink_LANGUAGECODE_.ts`
.
After this, edit
`blink/preferences.py`
and add the name of the language to the mapping:
```
python
mapping
=
{
"default"
:
"System default"
,
"en"
:
"English"
,
"nl"
:
"Nederlands"
,
"ro"
:
"Română"
}
```
After this you can run
`generate_translations`
and proceed to translate the newly generated file.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment