Bug 329637 - Can't find Dutch translations of documentation in digikam tarball
Summary: Can't find Dutch translations of documentation in digikam tarball
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Documentation (show other bugs)
Version: 4.9.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-05 22:45 UTC by Freek de Kruijf
Modified: 2015-05-10 10:55 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Freek de Kruijf 2014-01-05 22:45:28 UTC
The digikam tarball contains the po files for the different languages alright. However svn also contains po files with translations of the docbooks; even translated docbooks are present and sometimes even new generated screen captures. However only the docbooks in English in the tarball are present. I know the translated versions of the docbooks are present on docs.kde.org, but distributions also have HTML versions of the documentation available, however only in English. How can these translated docbooks be made available in a tarball, so distributions can generate the documentation in HTML in the different languages.
Comment 1 Burkhard Lück 2014-01-06 04:38:21 UTC
The latest stable release digikam-3.5.0.tar.bz2 does not have any translated docbooks, same for digikam-4.0.0-beta1.tar.bz2

From the pov of the KDE Documentation Team the big error is to have separated repos for digikam and kipi-plugins docs.
Comment 2 Burkhard Lück 2014-01-15 18:23:40 UTC
digikam/digikam-4.0.0-beta2.tar.bz2 has still no translated documentation
Comment 3 caulier.gilles 2014-01-15 21:27:03 UTC
I CC Nicolas Lécureuil who make release tarball...

Gilles Caulier
Comment 4 Nicolas L. 2014-02-09 11:47:06 UTC
i try to fix this for beta3 tarballs.
Comment 5 Burkhard Lück 2014-02-26 08:44:53 UTC
digikam-3.0.0-beta3.tar.bz2 has still no translated documentation :-(
Comment 6 Burkhard Lück 2014-02-26 08:53:57 UTC
> digikam-3.0.0-beta3.tar.bz2 has still no translated documentation :-(

latest tarball digikam-4.0.0-beta3.tar.bz2 has still no translated documentation
Comment 7 Nicolas L. 2014-02-26 09:04:18 UTC
not yet but i started to work on it. The fact is that i didn't wanted to delay the tarball to allow tests.

but i don't forget you :)
Comment 8 Nicolas L. 2014-03-27 07:39:44 UTC
maybe not perfect, but there is a start of documentation in the beta4 tarball now available.
Comment 9 caulier.gilles 2014-08-23 11:29:00 UTC
Nicolas,

Some progress here for next digiKam 4.3.0 release?

Gilles Caulier
Comment 10 Burkhard Lück 2014-09-18 14:31:14 UTC
The tarball digikam-4.3.0.tar.bz2 has:

doc/digikam/digikam  -> en documentation
doc/digikam/showfoto  -> en documentation
doc/kipi-plugins/  -> en documentation

and a folder 
doc-translated with six languages (et, it, nl, pt, pt_BR, uk) with the translated digikam docbooks

A bit of progress but still these issues:

* no "MACRO_OPTIONAL_ADD_SUBDIRECTORY(doc-translated)" in the toplevel CMakeLists.txt -> building the tarball won't build or install any translated documentation by default

* missing language docbooks for showfoto + kipi-plugins
Comment 11 Freek de Kruijf 2014-09-25 10:52:42 UTC
The documentation of digikam is now in the tarball, however apparently the macro call seems to be missing in CMakeLists.txt. Please honor the work of the translators in a soon to be issued 4.3.1.
Comment 12 Burkhard Lück 2014-10-09 13:15:24 UTC
digikam/digikam-4.4.0.tar.bz2

no changes wrt  doc translations compared to digikam-4.3.0.tar.bz2 :-(
Comment 13 Burkhard Lück 2014-11-18 11:26:58 UTC
digikam-4.5.0.tar.bz2

no changes wrt  doc translations compared to digikam-4.3.0.tar.bz2 :-(
Comment 14 Burkhard Lück 2015-04-08 05:34:48 UTC
digikam-4.9.0.tar.bz2

no changes wrt  doc translations compared to digikam-4.3.0.tar.bz2 :-(
Comment 15 caulier.gilles 2015-05-09 15:28:15 UTC
Git commit d5a44cb8c203bb9e91cd855568fad6dce3dc2d9a by Nicolas Lécureuil.
Committed on 08/05/2015 at 20:09.
Pushed by nlecureuil into branch 'master'.

Add missing translations

M  +2    -1    project/release/fetch_l10n.rb

http://commits.kde.org/scratch/mwiesweg/digikam-sc/d5a44cb8c203bb9e91cd855568fad6dce3dc2d9a

diff --git a/project/release/fetch_l10n.rb b/project/release/fetch_l10n.rb
index 5a43a2f..72f4c80 100755
--- a/project/release/fetch_l10n.rb
+++ b/project/release/fetch_l10n.rb
@@ -90,7 +90,8 @@ i18nlangs.each_line do |lang|
             Dir.mkdir(lang)
         end
         Dir.chdir(lang)
-        for part in ['digikam','kipiplugin_acquireimages','kipiplugin_advancedslideshow','kipiplugin_batchprocessimages','kipiplugin_calendar','kipiplugin_dngconverter','kipiplugin_expoblending','kipiplugin_facebook','kipiplugin_flashexport','kipiplugin_flickrexport','kipiplugin_galleryexport','kipiplugin_gpssync','kipiplugin_htmlexport','kipiplugin_imageviewer','kipiplugin_ipodexport','kipiplugin_jpeglossless','kipiplugin_kioexportimport','kipiplugin_metadataedit','kipiplugin_picasawebexport','kipiplugin_piwigoexport','kipiplugin_printimages','kipiplugin_rawconverter','kipiplugin_removeredeyes','kipiplugin_sendimages','kipiplugin_shwup','kipiplugin_smug','kipiplugins','kipiplugin_timeadjust' ]
+        for part in ['digikam','kipiplugin_acquireimages','kipiplugin_advancedslideshow','kipiplugin_batchprocessimages','kipiplugin_calendar','kipiplugin_dngconverter','kipiplugin_expoblending','kipiplugin_facebook','kipiplugin_flashexport','kipiplugin_flickrexport','kipiplugin_galleryexport','kipiplugin_gpssync','kipiplugin_htmlexport','kipiplugin_imageviewer','kipiplugin_ipodexport','kipiplugin_jpeglossless','kipiplugin_kioexportimport','kipiplugin_metadataedit','kipiplugin_picasawebexport','kipiplugin_piwigoexport','kipiplugin_printimages','kipiplugin_rawconverter','kipiplugin_removeredeyes','kipiplugin_sendimages','kipiplugin_shwup','kipiplugin_smug','kipiplugins','kipiplugin_timeadjust', 'kipiplugin_debianscreenshots.mo', 'kipiplugin_dlnaexport.mo', 'kipiplugin_dropbox.mo', 'kipiplugin_googledrive.mo', 'kipiplugin_imageshackexport.mo', 'kipiplugin_imgurexport.mo', 'kipiplugin_jalbumexport.mo', 'kipiplugin_kmlexport.mo', 'kipiplugin_kopete.mo', 'kipiplugin_panorama.mo', 'kipiplugin_photivointegration.mo', 'kipiplugin_photolayouteditor.mo', 'kipiplugin_rajceexport.mo', 'kipiplugin_videoslideshow.mo', 'kipiplugin_vkontakte.mo', 'kipiplugin_wallpaper.mo', 'kipiplugin_wikimedia.mo', 'kipiplugin_yandexfotki.mo' ]
+
     # Do not include kipiplugin_wallpaper for now as the plugin is disable.
             puts "Copying #{lang}'s #{part} over..  "
             if isWindows
Comment 16 Nicolas L. 2015-05-09 15:42:20 UTC
and 

commit 87c6cb80aec75fe6e4b0c63dda9e2590fceb3463
Author: Nicolas Lécureuil <neoclust@mageia.org>
Date:   Fri May 8 21:56:54 2015 +0200

    Build translated docs

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66531f7..02e8f7b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -220,6 +220,7 @@ add_subdirectory(core)
 
 if(ENABLE_COMPILE_DOC)
     MACRO_OPTIONAL_ADD_SUBDIRECTORY(doc)
+    MACRO_OPTIONAL_ADD_SUBDIRECTORY(doc-translated)
 endif()
 
 if(ENABLE_COMPILE_PO)
Comment 17 caulier.gilles 2015-05-10 10:29:00 UTC
Note to translators :


[gilles@localhost doc-translated]$ make 
Built target it-handbook
Generating index.cache.bz2
index.docbook:120: parser error : Entity 'Ivo.de.Klerk' not defined
&Freek.de.Kruijf;&Ivo.de.Klerk; 
                                ^
doc-translated/nl/CMakeFiles/nl-handbook.dir/build.make:67: recipe for target 'doc-translated/nl/index.cache.bz2' failed
make[2]: *** [doc-translated/nl/index.cache.bz2] Error 1
CMakeFiles/Makefile2:15818: recipe for target 'doc-translated/nl/CMakeFiles/nl-handbook.dir/all' failed
make[1]: *** [doc-translated/nl/CMakeFiles/nl-handbook.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2

This come from digiKam 4.10.0 pre-tarball. Please always make translated documentation compilable, else, relevant files will be dropped from compilation rules...

Gilles Caulier
Comment 18 Freek de Kruijf 2015-05-10 10:47:24 UTC
Op zondag 10 mei 2015 10:29:00 schreef u:
> https://bugs.kde.org/show_bug.cgi?id=329637
> 
> --- Comment #17 from Gilles Caulier <caulier.gilles@gmail.com> ---
> Note to translators :
> 
> 
> [gilles@localhost doc-translated]$ make
> Built target it-handbook
> Generating index.cache.bz2
> index.docbook:120: parser error : Entity 'Ivo.de.Klerk' not defined
> &Freek.de.Kruijf;&Ivo.de.Klerk;

This entity is available in KDE 4.14 and later.
>                                 ^
> doc-translated/nl/CMakeFiles/nl-handbook.dir/build.make:67: recipe for
> target 'doc-translated/nl/index.cache.bz2' failed
> make[2]: *** [doc-translated/nl/index.cache.bz2] Error 1
> CMakeFiles/Makefile2:15818: recipe for target
> 'doc-translated/nl/CMakeFiles/nl-handbook.dir/all' failed
> make[1]: *** [doc-translated/nl/CMakeFiles/nl-handbook.dir/all] Error 2
> Makefile:126: recipe for target 'all' failed
> make: *** [all] Error 2
> 
> This come from digiKam 4.10.0 pre-tarball. Please always make translated
> documentation compilable, else, relevant files will be dropped from
> compilation rules...
> 
> Gilles Caulier
Comment 19 caulier.gilles 2015-05-10 10:55:31 UTC
Yes, but it lock compilation tonew KDE release.

Here KDE 4.12.5 is used in production. All code can be compiled with it, not documentation which is... not code in fact.

Found a solution to still compatible with preview version of KDE at least >= 4.10, which is the only one available under Windows for ex.

Gilles Caulier