Skip to content

TP Language Translation #363

@rgleason

Description

@rgleason

Use of Crowdin for Language Translation

Crowdin OpenCPN Language Translation Documentation
Crowdin OpenCPN Project Managers (found under nohal/OpenCPN on the lower right)
Crowdin Registration (free)
Translators for OpenCPN and Plugins (viewing requires an account)

For translations a Plugin Developer can do its own upload to Crowdin or ask one of the Managers like Hakan or Pavel for assistance. If requested sometimes Hakan does 2 -9. The process goes like this:

  1. Plugin Developer marks "strings" for translation. (Please use only translatable strings and not code-alike text that a translator may not understand how to handle.) See how to identify strings to be translated " _(some string)"
  2. When Plugin Developer has finished, no more new "strings" will be added and translation is needed.:
    • Notify one of the Crowdin Managers above. Hakan has been doing this lately (Thank you Hakan).
    • or Plugin Developer will upload a new .pot file to his plugin under the OpenCPN project using his Crowdin account.
  3. The Crowdin manager will clone your repository, make a .pot file and upload it to crowdin OpenCPN
    • The ./po/POTFILES.in is updated to list files containing strings for translation.
    • The .pot file (e.g. autopilot_route_pi.pot) is created. You can use VS2022 for that.
    • The pot-file is loaded to Crowdin
  4. Our beloved human translators will create .po files in the Crowdin interface. Results will generally be available in about 2-3 weeks.
  • During this time DO NOT add any more strings to be translated to your files.
  • Managers consider when translators are ready and have Crowdin produce the .po-files, download.
  1. The manager will then merge your most recent changes to make his cloned repository=yours, then add the newly translated .pot and .po files, possibly test build, and make a PR to your plugin repository on github.
  • Check if all .po files build without errors. Often missed "\n". (If possible exclude them form translations)
  1. Plugin Developers should then accept and merge the PR online using the github web interface.
  2. Then re-build and publish the plugin (or advise rgleason for that).

Stupid translations, Not really.
For example, the English "port" can be used for many English meanings, so equally different when it comes to other languages. The rule here is to use "harbor", "data-port" and "port" for port side. When OpenCPN sees a translation for "port" he can't know which translation to use if there are many. So each developer has to take care here.!

Using Microsoft VS2022 to update pot file
When .\po\POTFILES,in list all files containing string(s) for translation I use VS - project: "wmm-pot-update" to produce a new pot-file for later use in Crowdin.
In Solution explorer: Select it->Right click->Project only->"Rebuild Only.....

AxLvS7x47PI2cjsE

0tOZEqmMBFz3NTga


Completed Translation List of plugins

Updates from Crowdin. chart by Håkan

11/11/2023

Plugin Accept invitation Forked from Rick Local repo Builds POT merged and on Crowdin PO from Crowdin merged
AISradar 1.4.10 branch master -Prod Yes Yes Yes Yes No update needed Yes
Admiralty Tide Tables 0.1.13 branch master -Prod Yes Yes Yes Yes 2023-10-20 09:14 Yes 2023-11-11  10:52:07
AutoTrackRaymarine 1.18.31 branch: master only O5.8 api118 -Prod Yes Yes Yes Yes 2023-10-21 16:43 Nothin in zip
Autopilot_route 0.4.30 branch master Moved src/nmea0183 to OLD -Prod Yes Yes Yes Yes 2023-10-20 09:25 Yes 2023-11-11  02:36:16
Celestial_Navigation 2.4.40 branch master -Prod Yes Yes Yes Yes No update needed Yes
Chartscale 0.3.11 branch master -Prod Yes Yes Yes Yes 2023-10-20 09:30 Yes 2023-11-11  02:42:03
Climatology 1.6.30 branch master -Prod Yes Yes Yes Yes 2023-10-20 09:38 Yes 2023-11-11  09:07:36
Dashboard-Tactics 1.7.60 branch mnt151-frontend2 -Beta Yes Yes Yes Yes No update needed Yes
Deviation 0.1.50 branch master -Prod Yes Yes Yes Yes No update needed Yes
Findit 1.3.50 branch master -Prod Yes Yes Yes Yes No update needed Yes
NmeaConverter 1.4.11 branch master -Prod Yes Yes Yes Yes 2023-10-20 20:24 Yes 2023-11-11  09:16:13
Plots 2.3.13 branch master -Prod Yes Yes Yes mo builds No update needed Yes
Polar 1.2.30.0 branch master -Prod Yes Yes Yes Yes No update needed Yes
Pypilot 0.40.30 branch master -Prod Yes Yes Yes Yes 2023-10-21 12:47 Yes 2023-11-11  09:27:25
Raymarine_Autopilot 1.0.40 branch:master -Prod Yes Yes Yes Yes 2023-10-21 12:47 Yes 2023-11-11  09:42:42
RtlSdr 1.4.7 branch master -Prod Yes Yes Yes Yes 2023-10-21 12:47 Yes 2023-11-11  09:50:15
Squiddio 1.3.90 branch: master (Mauro: fix text on/off) -Prod Yes Yes Yes Yes 2023-10-21 12:47 Yes 2023-11-11  09:58:15
Statusbar 1.1.9 branch: master Some bugs -Prod Yes Yes Yes Yes No update needed Yes
Tactics 1.0.80 branch master -Prod Yes Yes Yes Yes No update needed Yes
Testplugin 1.0.271 branch master TP Template -Prod Yes Yes Yes Yes No update needed Yes
Watchdog 2.4.100 branch master Parent Tempate -Prod Yes Yes Yes Yes 2023-10-19 16:20 Yes   2023-11-10  09:27:53
Weather_Routing 1.15.17 branch master -Prod Yes Yes Yes Yes No update needed Yes. Again 2023-11-11  10:18:20
Weatherfax 1.9.110 branch master -Prod (building, not pushed to plugins) Yes Yes Yes Yes No update needed Yes
route_pi Yes Yes Yes Yes No update needed Yes
rotationctrl_pi Yes Yes Yes Yes No update needed Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions