mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1857] How to Translation, localization, multi-language #1359
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#1359
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maboroshin on GitHub (Dec 15, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1857
Translatoin files in here: barrier/src/gui/res/lang/
.ts..tsinto.qs: Qt linguist'sMenu-File-Release.tsand.qsto GitHub.The latest string may not be reflected. String changes detected from barrier/src/gui/src 's history. Strings are enclosed in
tr("")or<string></string>.e.g. In https://github.com/debauchee/barrier/pull/1854/commits/24b6e4b7fa9b08a751605863542cf4433538aa51, The Fingerprint dialog' string has split for 2.4.0. Therefore, each translated file that does not reflect this update will have the Fingerprint dialog in English. This change was made the day before the 2.4.0 release and no one has updated the translation. If there are new changes , please let us know via this issue.
Here is a near-perfect file for2.4.1. #1854 (It's manual, so there may be mistakes.) Reflect the changes in your language file by text editor.
For developers
If only a code change is made (below 1. ), it could remain in place for years, reverted to English.
Correct change procedures
:
gui.tsis just a collection of English strings. Any changes to this file will help the translators recognize the need for an update.: The program does not refer to
filenameandlinein the location tag. This is seen by humans. And line numbers change frequently, so approximate is fine. Once added, leave the line numbers as they are. Otherwise, you will not be able to check the differences with each translation file.: Or, please let us know via this issue.
.tson barrier/src/gui/res/lang/ and compile to.qs.All of the projects I know of are either 2 orProceed to 3. It would be nice to have someone in charge of doing 3.
@maboroshin commented on GitHub (Dec 15, 2022):
@maboroshin commented on GitHub (Dec 15, 2022):
Call from issue: fr:https://github.com/debauchee/barrier/issues/931 , hu:https://github.com/debauchee/barrier/issues/1456
Call from PL:
: @Bintux https://github.com/debauchee/barrier/pull/1022
: @dieser-niko https://github.com/debauchee/barrier/pull/869
@ViBE-HU commented on GitHub (Dec 15, 2022):
Sadly the dev is just totally uninterested and don't want to team up or share the project with others. Pretty sad.
@maboroshin commented on GitHub (Dec 15, 2022):
I am one of the contributors for Japanese translation. It is taking years to reflect the translation files. It is very slow.
Another developers has started a Fork of Barrier in 2021. input-leap They seem to be monitoring the Barrier. I need information on what contributors should do from input-leap.
https://github.com/input-leap/input-leap/pull/1422#issuecomment-981855986 :
The only difference between the translated files is the copyright at this time.
Line 15 & 25
Copyright © 2018 Debauchee Open Source Group<br />Copyright © 2018 The InputLeap Developers<br />@maboroshin commented on GitHub (Dec 17, 2022):
The cancel button is coded below and remains in English.
QDialogButtonBox::Cancel|QDialogButtonBox::Ok