Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More translations #22

Open
orontee opened this issue Sep 6, 2023 · 6 comments
Open

More translations #22

orontee opened this issue Sep 6, 2023 · 6 comments
Labels

Comments

@orontee
Copy link
Owner

orontee commented Sep 6, 2023

Contributions welcome!

Howto

People interested in contributing to translations should use the corresponding Weblate project.

⚠️ Make sure that PocketBook devices support the language you're interested in; Weblate offers far more language than what is supported by PocketBook!

Current state

État de la traduction

Limitations

Note that OpenWeather APIs are partially translated: Depending on the requested language, returned texts are translated or not. For example, when requesting data in French, weather descriptions are translated but alerts aren't. And Taranis has no knowledge of the possible alerts text, thus there's no possible translation.

Another limitation is related to dates. They are returned in a numeric form by OpenWeather APIs and translation of week days and month names is performed by Taranis based on Inkview SDK facilities (C++ provides such facilities but the corresponding locales must be installed system wide which is not the case as far as I can see). And Inkview translation facilities are incomplete (if not broken)... Example, in Czech, month names aren't translated.

Technical considerations

To keep things simple, Taranis uses the custom translation mechanism provided by Inkview SDK, but the extraction of translatable strings is done by xgettext and the storage of translations is done in standard PO files.

Translatable strings are gathered in the taranis.pot file.

Plan

  • To avoid unnecessary increase of the executable size, translations could be packaged through JSON files and loaded dynamically on demand. But first measure the impact of a new language on the executable size... (see Check size information displayed by installer #85, clearly there's no urge)
@orontee orontee added good first issue Good for newcomers translation labels Sep 6, 2023
orontee added a commit that referenced this issue Sep 8, 2023
@orontee
Copy link
Owner Author

orontee commented Sep 8, 2023

Many thanks to Cyfranek for the Polish translations!

orontee added a commit that referenced this issue Sep 8, 2023
@orontee orontee pinned this issue Sep 8, 2023
@vita5656
Copy link

Czech translation in version 1.5.0 - rc2 is ok. I found no errors. Of course only for those translations that could be checked. Some error messages are not easy to simulate.

weblate added a commit that referenced this issue Dec 2, 2023
Currently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)

Translation: {{ project_name }}/{{ component_name }}
Translate-URL: {{ url }}

Refs: #22

Co-authored-by: Hosted Weblate <[email protected]>
Co-authored-by: Matthias Meulien <[email protected]>
Co-authored-by: Radosław Uliszak <[email protected]>
Co-authored-by: Tancrède <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/cs/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/fr/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/pl/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/ru/
Translation: Taranis/Taranis
weblate added a commit that referenced this issue Dec 2, 2023
Currently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)

Translation: {{ project_name }}/{{ component_name }}
Translate-URL: {{ url }}

Refs: #22

Co-authored-by: Hosted Weblate <[email protected]>
Co-authored-by: Matthias Meulien <[email protected]>
Co-authored-by: Radosław Uliszak <[email protected]>
Co-authored-by: Tancrède <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/cs/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/fr/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/pl/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/ru/
Translation: Taranis/Taranis
weblate added a commit that referenced this issue Dec 2, 2023
Currently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)

Translation: {{ project_name }}/{{ component_name }}
Translate-URL: {{ url }}

Refs: #22

Co-authored-by: Hosted Weblate <[email protected]>
Co-authored-by: Matthias Meulien <[email protected]>
Co-authored-by: Radosław Uliszak <[email protected]>
Co-authored-by: Tancrède <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/cs/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/fr/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/pl/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/ru/
Translation: Taranis/Taranis
weblate added a commit that referenced this issue Dec 2, 2023
Currently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)

Translation: {{ project_name }}/{{ component_name }}
Translate-URL: {{ url }}

Refs: #22

Co-authored-by: Hosted Weblate <[email protected]>
Co-authored-by: Matthias Meulien <[email protected]>
Co-authored-by: Radosław Uliszak <[email protected]>
Co-authored-by: Tancrède <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/cs/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/fr/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/pl/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/ru/
Translation: Taranis/Taranis
weblate added a commit that referenced this issue Dec 2, 2023
Currently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)

Translation: {{ project_name }}/{{ component_name }}
Translate-URL: {{ url }}

Refs: #22

Co-authored-by: Allan Nordhøy <[email protected]>
Co-authored-by: Hosted Weblate <[email protected]>
Refs: #22
weblate added a commit that referenced this issue Dec 2, 2023
Updated by "Squash Git commits" hook in Weblate.

Translation: Taranis/Taranis
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/

Refs: #22
weblate added a commit that referenced this issue Dec 2, 2023
orontee added a commit that referenced this issue Dec 29, 2023
Currently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)

Translation: {{ project_name }}/{{ component_name }}
Translate-URL: {{ url }}

Refs: #22

Co-authored-by: Hosted Weblate <[email protected]>
Co-authored-by: Matthias Meulien <[email protected]>
Co-authored-by: Radosław Uliszak <[email protected]>
Co-authored-by: Tancrède <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/cs/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/fr/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/pl/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/ru/
Translation: Taranis/Taranis
orontee added a commit that referenced this issue Dec 29, 2023
Currently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)

Translation: {{ project_name }}/{{ component_name }}
Translate-URL: {{ url }}

Refs: #22

Co-authored-by: Hosted Weblate <[email protected]>
Co-authored-by: Matthias Meulien <[email protected]>
Co-authored-by: Radosław Uliszak <[email protected]>
Co-authored-by: Tancrède <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/cs/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/fr/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/pl/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/ru/
Translation: Taranis/Taranis
orontee added a commit that referenced this issue Dec 29, 2023
Currently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)

Translation: {{ project_name }}/{{ component_name }}
Translate-URL: {{ url }}

Refs: #22

Co-authored-by: Hosted Weblate <[email protected]>
Co-authored-by: Matthias Meulien <[email protected]>
Co-authored-by: Radosław Uliszak <[email protected]>
Co-authored-by: Tancrède <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/cs/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/fr/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/pl/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/ru/
Translation: Taranis/Taranis
orontee added a commit that referenced this issue Dec 29, 2023
Currently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)

Translation: {{ project_name }}/{{ component_name }}
Translate-URL: {{ url }}

Refs: #22

Co-authored-by: Hosted Weblate <[email protected]>
Co-authored-by: Matthias Meulien <[email protected]>
Co-authored-by: Radosław Uliszak <[email protected]>
Co-authored-by: Tancrède <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/cs/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/fr/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/pl/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/ru/
Translation: Taranis/Taranis
orontee pushed a commit that referenced this issue Dec 29, 2023
Currently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)

Translation: {{ project_name }}/{{ component_name }}
Translate-URL: {{ url }}

Refs: #22

Co-authored-by: Allan Nordhøy <[email protected]>
Co-authored-by: Hosted Weblate <[email protected]>
Refs: #22
orontee pushed a commit that referenced this issue Dec 29, 2023
Updated by "Squash Git commits" hook in Weblate.

Translation: Taranis/Taranis
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/

Refs: #22
orontee added a commit that referenced this issue Dec 30, 2023
weblate added a commit that referenced this issue Dec 30, 2023
Refs: #22

Co-authored-by: Allan Nordhøy <[email protected]>
Co-authored-by: Hosted Weblate <[email protected]>
Co-authored-by: Matthias Meulien <[email protected]>
Co-authored-by: Radosław Uliszak <[email protected]>
Co-authored-by: Tancrède <[email protected]>
Refs: #22
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/cs/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/fr/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/pl/
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/ru/
Translation: Taranis/Taranis
weblate pushed a commit that referenced this issue Dec 30, 2023
Refs: #22

Co-authored-by: Matthias Meulien <[email protected]>
Refs: #22
weblate pushed a commit that referenced this issue Dec 30, 2023
Refs: #22

Co-authored-by: Eryk Michalak <[email protected]>
Refs: #22
weblate pushed a commit that referenced this issue Dec 30, 2023
Refs: #22

Co-authored-by: Radosław Uliszak <[email protected]>
Refs: #22
orontee added a commit that referenced this issue Dec 30, 2023
commit c4f27f3
Author: Radosław Uliszak <[email protected]>
Date:   Sat Dec 30 10:08:52 2023 +0100

    Translated using Weblate

    Refs: #22

    Co-authored-by: Radosław Uliszak <[email protected]>
    Refs: #22

commit 6ef559f
Author: Eryk Michalak <[email protected]>
Date:   Sat Dec 30 10:08:52 2023 +0100

    Translated using Weblate

    Refs: #22

    Co-authored-by: Eryk Michalak <[email protected]>
    Refs: #22

commit 401706f
Author: Matthias Meulien <[email protected]>
Date:   Sat Dec 30 10:08:52 2023 +0100

    Translated using Weblate

    Refs: #22

    Co-authored-by: Matthias Meulien <[email protected]>
    Refs: #22

commit 1e988a2
Author: Hosted Weblate <[email protected]>
Date:   Sat Dec 30 10:08:52 2023 +0100

    Translated using Weblate

    Refs: #22

    Co-authored-by: Allan Nordhøy <[email protected]>
    Co-authored-by: Hosted Weblate <[email protected]>
    Co-authored-by: Matthias Meulien <[email protected]>
    Co-authored-by: Radosław Uliszak <[email protected]>
    Co-authored-by: Tancrède <[email protected]>
    Refs: #22
    Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/cs/
    Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/fr/
    Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/pl/
    Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/ru/
    Translation: Taranis/Taranis
orontee added a commit that referenced this issue Dec 30, 2023
commit c4f27f3
Author: Radosław Uliszak <[email protected]>
Date:   Sat Dec 30 10:08:52 2023 +0100

    Translated using Weblate

    Refs: #22

    Co-authored-by: Radosław Uliszak <[email protected]>
    Refs: #22

commit 6ef559f
Author: Eryk Michalak <[email protected]>
Date:   Sat Dec 30 10:08:52 2023 +0100

    Translated using Weblate

    Refs: #22

    Co-authored-by: Eryk Michalak <[email protected]>
    Refs: #22

commit 401706f
Author: Matthias Meulien <[email protected]>
Date:   Sat Dec 30 10:08:52 2023 +0100

    Translated using Weblate

    Refs: #22

    Co-authored-by: Matthias Meulien <[email protected]>
    Refs: #22

commit 1e988a2
Author: Hosted Weblate <[email protected]>
Date:   Sat Dec 30 10:08:52 2023 +0100

    Translated using Weblate

    Refs: #22

    Co-authored-by: Allan Nordhøy <[email protected]>
    Co-authored-by: Hosted Weblate <[email protected]>
    Co-authored-by: Matthias Meulien <[email protected]>
    Co-authored-by: Radosław Uliszak <[email protected]>
    Co-authored-by: Tancrède <[email protected]>
    Refs: #22
    Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/cs/
    Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/fr/
    Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/pl/
    Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/ru/
    Translation: Taranis/Taranis
orontee pushed a commit that referenced this issue Feb 7, 2024
Currently translated at 85.1% (46 of 54 strings)

Translation: Taranis/Taranis
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/ru/

Refs: #22
orontee pushed a commit that referenced this issue Feb 7, 2024
orontee pushed a commit that referenced this issue Feb 7, 2024
Currently translated at 100.0% (54 of 54 strings)

Translation: Taranis/Taranis
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/pl/

Refs: #22
orontee pushed a commit that referenced this issue Feb 7, 2024
Currently translated at 100.0% (54 of 54 strings)

Translation: Taranis/Taranis
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/sr/

Refs: #22
orontee added a commit that referenced this issue Feb 7, 2024
weblate added a commit that referenced this issue Feb 7, 2024
weblate pushed a commit that referenced this issue Feb 7, 2024
Currently translated at 85.1% (46 of 54 strings)

Translation: Taranis/Taranis
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/ru/

Refs: #22
weblate pushed a commit that referenced this issue Feb 7, 2024
weblate pushed a commit that referenced this issue Feb 7, 2024
Currently translated at 100.0% (54 of 54 strings)

Translation: Taranis/Taranis
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/pl/

Refs: #22
weblate pushed a commit that referenced this issue Feb 7, 2024
Currently translated at 100.0% (54 of 54 strings)

Translation: Taranis/Taranis
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/sr/

Refs: #22
weblate added a commit that referenced this issue Feb 7, 2024
@orontee
Copy link
Owner Author

orontee commented Feb 7, 2024

Serbian translations can be tested using pre-release 1.8.0-rc2.

Note that my device doesn't offer Serbian language, thus I've not tested.

orontee added a commit that referenced this issue Feb 8, 2024
Refs: #22

Co-authored-by: Matthias Meulien <[email protected]>
Refs: #22
@kakonema
Copy link
Contributor

I've made translation without realizing that pocketbook devices don't have Serbian language option, so i don't think it would work. I've tried adding Serbian language to the device, and while it's possible to translate OS UI (and in Taranis some elements are translated), the OS itself doesn't have Serbian locale in it's archive (I'm guessing Taranis pulls device locale data for displaying date and time), and I'm not sure if it's possible to edit device locale-archive without rooting.

@orontee
Copy link
Owner Author

orontee commented Feb 18, 2024

@kakonema Sorry to learn that Serbian isn't supported. In fact the supported languages may differ depending on the device distributor...

weblate pushed a commit that referenced this issue Feb 18, 2024
Refs: #22

Co-authored-by: Matthias Meulien <[email protected]>
Refs: #22
weblate added a commit that referenced this issue Mar 3, 2024
Refs: #22

Co-authored-by: Hosted Weblate <[email protected]>
Refs: #22
weblate pushed a commit that referenced this issue Nov 16, 2024
Refs: #22

Co-authored-by: Matthias Meulien <[email protected]>
Refs: #22
weblate pushed a commit that referenced this issue Nov 16, 2024
Refs: #22

Co-authored-by: Tancrède <[email protected]>
Refs: #22
weblate pushed a commit that referenced this issue Nov 16, 2024
Currently translated at 100.0% (91 of 91 strings)

Translation: Taranis/Taranis
Translate-URL: https://hosted.weblate.org/projects/taranis/taranis/ru/

Refs: #22
orontee pushed a commit that referenced this issue Nov 19, 2024
Refs: #22

Co-authored-by: Vitalii <[email protected]>
Refs: #22
orontee pushed a commit that referenced this issue Nov 19, 2024
Refs: #22

Co-authored-by: breiti-oi <[email protected]>
Refs: #22
orontee added a commit that referenced this issue Nov 19, 2024
Refs: #22

Co-authored-by: Matthias Meulien <[email protected]>
Refs: #22
@orontee
Copy link
Owner Author

orontee commented Nov 20, 2024

@kakonema I am sorry I had to delete the Serbian translations from Weblate since they were automatically re-introduced in the source code when importing new translation work...

orontee added a commit that referenced this issue Nov 20, 2024
weblate pushed a commit that referenced this issue Dec 20, 2024
Refs: #22

Co-authored-by: breiti-oi <[email protected]>
Refs: #22
weblate pushed a commit that referenced this issue Dec 20, 2024
Refs: #22

Co-authored-by: Vitalii <[email protected]>
Refs: #22
orontee pushed a commit that referenced this issue Dec 20, 2024
Refs: #22

Co-authored-by: breiti-oi <[email protected]>
Refs: #22
orontee pushed a commit that referenced this issue Dec 20, 2024
Refs: #22

Co-authored-by: Vitalii <[email protected]>
Refs: #22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants