Create CMakeL10n rules #8

Closed
opened 5 years ago by SlavekB · 0 comments
Owner

1. Templates for translations

In order to work on translations, it is necessary first to provide a mechanism for updating translation templates. For this reason, the CMake module TDEL10n was prepared. It is now necessary to prepare the CMakeL10n rules for all modules to ensure the creation and updating of translation templates.

2. Build translations for all languages

At the same time, we must ensure that all currently available languages are automatically processed when building packages. Translations for new languages will be automatically added using the Weblate, so it is essential that we do not have to edit the build rules (either automake or cmake) when adding a translation for a new language.

3. Set up integration with Weblate

In individual Gitea repositories, webhook activation from Weblate must be configured to ensure automatically update repositories in Weblate. Once the translation template is ready, an addon can be enabled in the Weblate to automatically update the translations according to the template. It is also useful to verify the source code path to the Gitea repository in the Weblate so that references to the location of the translated string in the source code work properly.

Thanks to this integration, updating existing translations by templates and creating translations for new languages will be done in the Weblate. Commits from the Weblate are pushed directly into Gitea.

4. Current state of CMakeL10n rules

Main

Applications

## 1. Templates for translations In order to work on translations, it is necessary first to provide a mechanism for updating translation templates. For this reason, the CMake module [TDEL10n](../tde-common-cmake/src/branch/master/modules/TDEL10n.cmake) was prepared. It is now necessary to prepare the CMakeL10n rules for all modules to ensure the creation and updating of translation templates. ## 2. Build translations for all languages At the same time, we must ensure that all currently available languages are automatically processed when building packages. Translations for new languages will be automatically added using the Weblate, so it is essential that we do not have to edit the build rules (either automake or cmake) when adding a translation for a new language. ## 3. Set up integration with Weblate In individual Gitea repositories, webhook activation from Weblate must be configured to ensure automatically update repositories in Weblate. Once the translation template is ready, an addon can be enabled in the Weblate to automatically update the translations according to the template. It is also useful to verify the source code path to the Gitea repository in the Weblate so that references to the location of the translated string in the source code work properly. Thanks to this integration, updating existing translations by templates and creating translations for new languages will be done in the Weblate. Commits from the Weblate are pushed directly into Gitea. ## 4. Current state of CMakeL10n rules ### Main - [x] TDE/tdelibs#8 – TDE/tde-i18n#2 - [x] TDE/tdebase#19 – TDE/tde-i18n#3 - [x] TDE/tdepim#13 – TDE/tde-i18n#5 - [x] TDE/tdemultimedia#2 – [TDE/tde-i18n](../tde-i18n/commit/353dcdd5b1ae836774a0511004b2f578cbdce740) - [x] TDE/tdenetwork#5 – [TDE/tde-i18n](../tde-i18n/commit/a4740aa1031f448f51ff61455c1583bc0bbbfbe4) - [x] TDE/tdegraphics#6 – [TDE/tde-i18n](../tde-i18n/commit/f82d3c2e8c8ccd8cb5f39eabc2ae3f6e08a4b9eb) - [x] TDE/tdetoys#3 – [TDE/tde-i18n](../tde-i18n/commit/058e73a918e8644cea3eb0eb4e60aa862a019e4b) - [x] TDE/tdeutils#7 – [TDE/tde-i18n](../tde-i18n/commit/03f9c362188be044d6a0fb8ed8384254a495485d) - [x] TDE/tdeedu#1 – [TDE/tde-i18n](../tde-i18n/commit/6761ad13fdfcdd0687066f221b1cdfef39ed98f1) - [x] TDE/tdegames#3 – [TDE/tde-i18n](../tde-i18n/commit/b0b86c25e71621fe07e3bcfca49e1f5ef70d3116) - [x] TDE/tdeaccessibility#1 – [TDE/tde-i18n](../tde-i18n/commit/3bfaf85362fd8306ba70d8d6529b2c9084b73fca) - [x] TDE/tdeaddons#3 – [TDE/tde-i18n](../tde-i18n/commit/f92f4244c6fa42b3f76ff0555b2db305fd014d98) - [x] TDE/tdeadmin#7 – TDE/tde-i18n#4 - [x] TDE/tdeartwork#5 – [TDE/tde-i18n](../tde-i18n/commit/f8e563f0610f5e828491603d3daebdcab66a1e01) - [x] TDE/tdesdk#3 – [TDE/tde-i18n](../tde-i18n/commit/812daea2804354bfc987d5de73b82ceddbd28959) - [x] [TDE/tdevelop](../tdevelop/commit/47e3b8c07e89067296c1839c00fa94f39422c4a9) – [TDE/tde-i18n](../tde-i18n/commit/951a586afb38aff4091f3f197ef9d976b7f55d71) - [x] [TDE/tdewebdev](../tdewebdev/commit/1174bdb4683065dc555622f394a36ee1fa2b446c) – [TDE/tde-i18n](../tde-i18n/commit/896d03f91165ef3dd862e487f80baf3e4b10019c) ### Applications - [x] TDE/abakus#1 - [x] [TDE/amarok](../amarok/commit/6a9901792af015c0c99039300b77135a0701a5c7) - [x] [TDE/basket](../basket/commit/d6dc034fc8e0f7ab2cbb23440b1de2268db70d58) - [x] [TDE/bibletime](../bibletime/commit/fc2a264df5071a7febbd14ff5995c3c1d7776a9a) - [x] TDE/desktop-effects-tde#1 - [x] [TDE/digikam](../digikam/commit/9beb43f022e451e4265b20a99b3d6405b0abe0b7) - [x] [TDE/dolphin](../dolphin/commit/d3b860da33f97e1258a5469a8593162c765ab63c) - [x] [TDE/filelight](../filelight/commit/0816faa34e96a24644d9cf030cb05a78e71db3b6) - [x] [TDE/gtk-qt-engine](../gtk-qt-engine/commit/7a2f7de501b29f3b7c25a36bd8aec4a322799e28) - [x] [TDE/gwenview](../gwenview/commit/79687b566d6b868a9b9f63bc2d2009d54fd47462) – [TDE/gwenview-i18n](../gwenview-i18n/commit/d77e0f427cfd80b5864499f1129919d348fd26ff) - [x] [TDE/k3b](../k3b/commit/d44616976482cae1d41c583d00192a6b274b7e9e) – [TDE/k3b-i18n](../k3b-i18n/commit/9fed4e832edb35b2d169172a8380453aac98b143) - [x] [TDE/k9copy](../k9copy/commit/f651451c11cc67d16c3ee4d685acab4d3b01c056) - [x] [TDE/kaffeine](../kaffeine/commit/d306cb5e1b23813def0309958307f1928d22358e) - [x] [TDE/kasablanca](../kasablanca/commit/26c363e275861f576bfb4e825bdb2e63a72370a7) - [x] [TDE/katapult](../katapult/commit/81620471903f52085344689f39bc893b5a9d3f9b) - [x] [TDE/kbarcode](../kbarcode/commit/f5db83ece7a2f5fdd36a128ad86daa1581eab665) - [x] [TDE/kbfx](../kbfx/commit/4d373b0fd4feaa2d7830d57fa47402b8cfa7aa2a) - [x] [TDE/kbibtex](../kbibtex/commit/22d297510f4393cff43f7ab82c74c10da5060185) - [x] [TDE/kbiff](../kbiff/commit/c94e47a08b64d2053f9f66ad991734f79d52ce3e) - [x] [TDE/kbookreader](../kbookreader/commit/7a3fdd916fe08b25494a5b49ba96693cb7e0b508) - [x] [TDE/kchmviewer](../kchmviewer/commit/40f7b0ec47034d65f0aac2b5412e25e26fa8d2d1) - [x] [TDE/kcmautostart](../kcmautostart/commit/07f530c60508836ef837aece0415ac89b66fdf53) - [x] [TDE/kcmldap](../kcmldap/commit/ec7d3bd017cec514f434457c101a6982a17cb32d) - [x] [TDE/kcmldapcontroller](../kcmldapcontroller/commit/805f4737532ecbbd2891735cbc85c2162d6dc23b) - [x] [TDE/kcmldapmanager](../kcmldapmanager/commit/eedb4fd3eaf17f11fc57314baf501ebc3b13bd46) - [x] [TDE/kcpuload](../kcpuload/commit/90d92cc7061207746e333f5d45f2875e2b538375) - [x] [TDE/kdbg](../kdbg/commit/71e86fb73f3c465f6f175bbc8a5b9b7c22b4b9e7) - [x] [TDE/kdiff3](../kdiff3/commit/0ee39c1ce96dbd9152a597eb5bf3da51daa6d15f) - [x] [TDE/kdirstat](../kdirstat/commit/f323cfef1847abecd4e21b9a8b5e6947a79c5844) - [x] [TDE/kdpkg](../kdpkg/commit/2ead687acf9daa4f89e7846b8d520140b8a30775) - [x] [TDE/keep](../keep/commit/ee35ed91cdc1be9d91036738d6d77ba5040529bd) - [x] [TDE/kerberostray](../kerberostray/commit/262151198207795251c6e8c662e4f26d955c11fa) - [x] [TDE/kerry](../kerry/commit/9b5bd24b24c83c9ab1d854951c5037861549819d) - [x] [TDE/kftpgrabber](../kftpgrabber/commit/b794885740bb1b282f9b97ac691022d1fced505e) - [x] [TDE/kgtk-qt3](../kgtk-qt3/commit/81cffa05f1ee7581e1a0b33ebd77a9ec6e7726b2) - [x] [TDE/kile](../kile/commit/8bde35a86eacf3e48dc2e231b9a740e91b7ada4c) - [x] [TDE/kima](../kima/commit/1d6bea510fdfeb07a3fc1737cadb5dbc11626418) - [x] [TDE/kiosktool](../kiosktool/commit/5f8d3c3fd4af27b63940d85b46f5e2b21f17e66c) - [x] [TDE/kkbswitch](../kkbswitch/commit/769d754414b6675aa4d74fe87cc2c39fe078795a) - [x] [TDE/klcddimmer](../klcddimmer/commit/f3600bef760f4d15a4838d613da53771f8c0e435) - [x] [TDE/kmplayer](../kmplayer/commit/5249cbe62e3d779c2f8541c6095dc322b41abda4) - [x] [TDE/kmyfirewall](../kmyfirewall/commit/4161ce66f51fc7f6c9862cd2439b21369f80c1e4) - [x] [TDE/kmymoney](../kmymoney/commit/edfdc4fce686fe4d9047d91c5bb950e119407cb9) - [x] [TDE/knemo](../knemo/commit/b08de46014aeb5a54817dfcb7660e41a495ab911) - [x] [TDE/knetload](../knetload/commit/5272377bc13d4ce585ae061c0d2dc0bed3d41708) - [x] [TDE/knetstats](../knetstats/commit/395c1540bb8b05b1d7b2feab203ba15a1c38d8d8) - [x] [TDE/knetworkmanager8](../knetworkmanager8/commit/83fd5d0d66e689e62563e66a5b258e3fdca7e027) - [x] [TDE/knights](../knights/commit/8c3d6ddfd6a5d20b3d6397f409c1a160900567cd) - [x] [TDE/knmap](../knmap/commit/d2676c2f4e573b44f60386f984b07cf851868a22) - [x] [TDE/knowit](../knowit/commit/12786a5e18db8185a80ea0dce68a43b0bfdc20ca) - [x] [TDE/knutclient](../knutclient/commit/09d7e5aca00fcb75b69fc93ca7c0eca999447e69) - [x] TDE/koffice#1 – [TDE/koffice-i18n](../koffice-i18n/commit/da61f7a2cbac93783f87c3ceb4d7218255c50057) - [x] [TDE/konversation](../konversation/commit/7854904d2f5dddea8d6e8609fff7ce199fae1358) - [x] [TDE/kooldock](../kooldock/commit/a09ae3da8e84d38fee00f83edf444639336cf9b9) - [x] [TDE/kopete-otr](../kopete-otr/commit/4f92cf4941513f699752745d88edeb3a20b8f5d6) - [x] [TDE/kpicosim](../kpicosim/commit/fdd508d2999441099da89dddedd98bde036e82a7) - [x] [TDE/kpilot](../kpilot/commit/b1d935418fe74801c5f50d75cea87609b456b590) - [x] [TDE/kplayer](../kplayer/commit/2618e55f58dddee9c1374c3bf0acf8e913b97124) - [x] [TDE/kpowersave](../kpowersave/commit/1a8503df8012423702971df29cf18050dedc4ffe) - [x] [TDE/krecipes](../krecipes/commit/0f284d740c91c5ed32864f85254dd7c4747e7b90) - [x] [TDE/krename](../krename/commit/e1a137e8599719fd5461aa55ba6fe47ab0ac139e) - [x] [TDE/krusader](../krusader/commit/ce66f07994834079a1fc489fbf6dfbf8a10edc76) - [x] [TDE/kscope](../kscope/commit/818e4d056bab9066ed0a09293843c34a273d6899) - [x] [TDE/ksensors](../ksensors/commit/6cd3fcf3c4a17f214aa86d8932f386a04c6e56fa) - [x] [TDE/kshowmail](../kshowmail/commit/ee58320d73c6a72d12833f57ec8abac0037a8d4b) - [x] [TDE/kshutdown](../kshutdown/commit/6393ab11f5263ade0618a334fb39aa4b4f0e627a) - [x] [TDE/ksquirrel](../ksquirrel/commit/77b3f7892ab20c9f302a7bc77e882e1deb0c17b7) - [x] [TDE/kstreamripper](../kstreamripper/commit/ded3f1fb861e39f8abc656318f33ab4f1224b6af) - [x] [TDE/ksystemlog](../ksystemlog/commit/873986f8022d60d81cc6dfcbfd0b16f8a0d8fea3) - [x] [TDE/ktechlab](../ktechlab/commit/26147a684bf7f708d477c10a2a6507edda2a62d4) - [x] [TDE/ktorrent](../ktorrent/commit/8691445ebe08d37625d0876bafaa3691557438d7) - [x] TDE/kvirc#1 - [x] [TDE/kvkbd](../kvkbd/commit/623026caa857e5cdcf316ec51403282f29ed1879) - [x] [TDE/kvpnc](../kvpnc/commit/c68e16caea2fab5283b43cad43e8064ad4fa6a6f) - [x] [TDE/kxmleditor](../kxmleditor/commit/5dfa650fa11db12f18da698a85502b9dbb5377cc) - [x] [TDE/mplayerthumbs](../mplayerthumbs/commit/63565415521ec566485fec1d59887e066c22d490) - [x] [TDE/piklab](../piklab/commit/98420b552387e0d0af8e1b3db176297a90b9f33f) - [x] TDE/potracegui#1 - [x] [TDE/qalculate-tde](../qalculate-tde/commit/df736f207be72fc679697d605e4916eba173b779) - [x] [TDE/rosegarden](../rosegarden/commit/cea604e003a6e32ee9fd987595a1c7e51daac347) - [x] [TDE/smb4k](../smb4k/commit/9fb5aa2802e504069622082284222977e33b1f8f) - [x] [TDE/soundkonverter](../soundkonverter/commit/b353e04d69311ed1765dbf416b3a3889b2fb599c) - [x] [TDE/tastymenu](../tastymenu/commit/33a55c8c68ce2ccbc5f52d3b1cc412c793baf140) - [x] [TDE/tde-style-baghira](../tde-style-baghira/commit/e761bb2108883fcbf7ddd31878f467621966b9fa) - [x] [TDE/tde-style-domino](../tde-style-domino/commit/89e1769b576437b387a4f6b2a01369a93626d6a1) - [x] [TDE/tde-style-lipstik](../tde-style-lipstik/commit/5290edbc8266802f1368c223a945280416210678) - [x] [TDE/tde-style-qtcurve](../tde-style-qtcurve/commit/02bd27721d8e17c02310145bca46814457242531) - [x] [TDE/tde-systemsettings](../tde-systemsettings/commit/c14305678bcd08f2d12a36a928927f5711ddb6df) - [x] [TDE/tdedocker](../tdedocker/commit/b0606908399cb47012459e96d1436a8c2bfb18d1) - [x] [TDE/tdeio-apt](../tdeio-apt/commit/5d11b13fbd674d695152dab2326500f812501835) - [x] [TDE/tdeio-ftps](../tdeio-ftps/commit/05a436ed6996f045f78dd2007822cb18ebff4286) - [x] [TDE/tdeio-gopher](../tdeio-gopher/commit/31c88d890c784f26d7a02c16d592c7e59292dc26) - [x] [TDE/tdeio-locate](../tdeio-locate/commit/11f5bd88efce39b393c58ae01521b5bd5aac3b9f) - [x] [TDE/tdeio-sword](../tdeio-sword/commit/b9d222d7cd91bc81b5f5db3036108f8eed9dceb4) - [x] [TDE/tdeio-umountwrapper](../tdeio-umountwrapper/commit/ce24f7e8bee0d70bdebe4e979eaefdb56c1b3ebb) - [x] [TDE/tdenetworkmanager](../tdenetworkmanager/commit/3dc2f27d3cf75b281bdfd1067b26a0b21bf3449a) - [x] [TDE/tdepowersave](../tdepowersave/commit/657e2a55a5d2ea9f1352446e1e22b0802bb87c34) - [x] [TDE/tderadio](../tderadio/commit/eed8f695f27ea573e9898b56811232de777c7613) - [x] [TDE/tdesudo](../tdesudo/commit/229f53f98f21078d329a1414d1f5079a1ac1868b) - [x] [TDE/tdesvn](../tdesvn/commit/3bf59c97e24b56b23b67c6e482fb4682d8ebc1c0) - [x] [TDE/tdmtheme](../tdmtheme/commit/a037fdbd50cfe5a0aaeae5d9c498dbaae9f9c930) - [x] [TDE/tellico](../tellico/commit/789ce7593273887580c4edcaefc2e6f9d20a9a44) - [x] [TDE/tork](../tork/commit/b2121ebbd75774b6d1d7c963be69f43193faa130) - [x] [TDE/wlassistant](../wlassistant/commit/7d10299aba4853d614ac171cb8007411b8f63d60) - [x] [TDE/yakuake](../yakuake/commit/deca1cf109edfe9fd4db992375175a3c6a664b09)
SlavekB added this to the R14.0.6 release milestone 5 years ago
MicheleC closed this issue 5 years ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/tde#8
Loading…
There is no content yet.