[Gimp-docs] Translated strings in po remain in English in html
Hi, Some translated strings in my po files remain in English when transformed to html. I remember that was a problem of different "make", but I don't know how to resolve it :-( Please help me. Julien ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
Re: [Gimp-docs] Translated strings in po remain in English in html
Dne 23.12.2010 08:00, Julien Hardelin napsal(a): > Hi, > > Some translated strings in my po files remain in English when > transformed to html. > > I remember that was a problem of different "make", but I don't know how > to resolve it :-( > > Please help me. what strings exactly you mean? running 'make status-fr' reveals there are still some fuzzy and untranslated strings: $ make status-fr ... total: 13979 strings in 47 files (4560685 Bytes): translated=13696 fuzzy=235 untranslated=48 [__] 98% French > Julien miroslav ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
Re: [Gimp-docs] Translated strings in po remain in English in html
Hi, > what strings exactly you mean? #: src/dialogs/templates-dialog.xml:34(para) msgid "" "Templates are templates for an image format to be created.GIMP offers you a lot of templates and you can create your owns. When you create a New image, you can access to the list of existing templates but you can't manage them. The Templates dialog allows you to manage all these templates." msgstr "" "Il s'agit de modèles pour un format d'image à créer.GIMP vous offre un certain nombre de modèles, et vous pouvez créer vos propres modèles. Quand vous créez une Nouvelle image, vous pouvez accéder à la liste des modèles existants, mais vous ne pouvez pas les gérer. La fenêtre de dialogue Modèles vous donne la possibilité de gérer ces différents modèles." This French string is displayed in English in the French Html. I tried deleting the fr string, and saving dialogs.po; then reopening dialogs.po and translating the string again, saving again. make html-fr: the string is still English :-( Julien ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
Re: [Gimp-docs] Translated strings in po remain in English in html
Dne 23.12.2010 18:55, Julien Hardelin napsal(a): > Hi, > >> what strings exactly you mean? > #: src/dialogs/templates-dialog.xml:34(para) > msgid "" > "Templates are templates for an image format to be > created.GIMP offers you a lot of templates and you > can create your owns. When you create a New image, you can access to the > list of existing templates but you can't manage them. The > Templates dialog allows you to manage all these templates." > msgstr "" > "Il s'agit de modèles pour un format d'image à > créer.GIMP vous offre un certain nombre de modèles, > et vous pouvez créer vos propres modèles. Quand vous créez une Nouvelle > image, vous pouvez accéder à la liste des modèles existants, mais vous > ne pouvez pas les gérer. La fenêtre de dialogue Modèles > vous donne la possibilité de gérer ces différents modèles." > > This French string is displayed in English in the French Html. > > I tried deleting the fr string, and saving dialogs.po; then reopening > dialogs.po and translating the string again, saving again. make html-fr: > the string is still English :-( here it is translated: fordf...@crook ~/src/other/gimp-help-2/html/fr $ grep "Templates" * -r fordf...@crook ~/src/other/gimp-help-2/html/fr $ grep "Il s'agit de modèles" * -r gimp-template-dialog.html: Il s'agit de modèles pour un format d'image à créer. GIMP vous offre un certain nombre de modèles, et vous pouvez créer vos propres modèles. Quand vous créez une Nouvelle image, vous pouvez accéder à la liste des modèles existants, mais vous ne pouvez pas les gérer. La fenêtre de dialogue « Modèles » vous donne la possibilité de gérer ces différents modèles. did you try to run "make clean" before "make html-fr"? you can also make sure xml directory is deleted after "make clean" (as files in this directory are used for generating of the html files). > Julien miroslav ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
Re: [Gimp-docs] Translated strings in po remain in English in html
> did you try to run "make clean" before "make html-fr"? you can also make > sure xml directory is deleted after "make clean" (as files in this > directory are used for generating of the html files). ~/gimp-help-2> make clean Making clean in quickreference make[1]: entrant dans le répertoire « /home/julien/gimp-help-2/quickreference » rm -rf docbook rm -rf svg rm -rf xml rm -f .xml2po.mo make[1]: quittant le répertoire « /home/julien/gimp-help-2/quickreference » Making clean in . make[1]: entrant dans le répertoire « /home/julien/gimp-help-2 » make[1]: quittant le répertoire « /home/julien/gimp-help-2 » ~/gimp-help-2> make html-fr Makefile:488: xml/de/.deps.mk: Aucun fichier ou dossier de ce type Makefile:488: xml/fr/.deps.mk: Aucun fichier ou dossier de ce type [SRC] src/preface/authors.xml [DEP] xml/fr/.deps.mk [DEP] xml/de/.deps.mk [POT] pot/appendix.pot [POT] pot/dialogs.pot Traceback (most recent call last): File "./tools/xml2po.py", line 191, in main(sys.argv[1:]) File "./tools/xml2po.py", line 184, in main xml2po_main.to_pot(filenames) File "/home/julien/gimp-help-2/tools/xml2po/__init__.py", line 570, in to_pot self.current_mode.preProcessXml(doc.doc, self.msg) File "/home/julien/gimp-help-2/tools/xml2po/modes/gimphelp.py", line 85, in preProcessXml root = doc.getRootElement() File "/usr/lib64/python2.6/site-packages/libxml2.py", line 4199, in getRootElement if ret is None:raise treeError('xmlDocGetRootElement() failed') libxml2.treeError: xmlDocGetRootElement() failed make: *** [pot/dialogs.pot] Erreur 1 There is a serious problem! If you understand that... Julien ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
Re: [Gimp-docs] Translated strings in po remain in English in html
Dne 23.12.2010 21:33, Julien Hardelin napsal(a): > ~/gimp-help-2> make clean > Making clean in quickreference > make[1]: entrant dans le répertoire « > /home/julien/gimp-help-2/quickreference » > rm -rf docbook > rm -rf svg > rm -rf xml > rm -f .xml2po.mo > make[1]: quittant le répertoire « /home/julien/gimp-help-2/quickreference » > Making clean in . > make[1]: entrant dans le répertoire « /home/julien/gimp-help-2 » > make[1]: quittant le répertoire « /home/julien/gimp-help-2 » > > ~/gimp-help-2> make html-fr > Makefile:488: xml/de/.deps.mk: Aucun fichier ou dossier de ce type > Makefile:488: xml/fr/.deps.mk: Aucun fichier ou dossier de ce type > [SRC] src/preface/authors.xml > [DEP] xml/fr/.deps.mk > [DEP] xml/de/.deps.mk > [POT] pot/appendix.pot > [POT] pot/dialogs.pot > Traceback (most recent call last): > File "./tools/xml2po.py", line 191, in > main(sys.argv[1:]) > File "./tools/xml2po.py", line 184, in main > xml2po_main.to_pot(filenames) > File "/home/julien/gimp-help-2/tools/xml2po/__init__.py", line 570, in > to_pot > self.current_mode.preProcessXml(doc.doc, self.msg) > File "/home/julien/gimp-help-2/tools/xml2po/modes/gimphelp.py", line > 85, in preProcessXml > root = doc.getRootElement() > File "/usr/lib64/python2.6/site-packages/libxml2.py", line 4199, in > getRootElement > if ret is None:raise treeError('xmlDocGetRootElement() failed') > libxml2.treeError: xmlDocGetRootElement() failed > make: *** [pot/dialogs.pot] Erreur 1 > > There is a serious problem! > If you understand that... it is already fixed (https://bugzilla.gnome.org/show_bug.cgi?id=637505#c23 and following), just push from repo. > Julien miroslav ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
Re: [Gimp-docs] Translated strings in po remain in English in html
Julien Hardelin (Thursday, 23. December 2010) > I tried deleting the fr string, and saving dialogs.po; then > reopening dialogs.po and translating the string again, saving > again. make html-fr: the string is still English :-( Remove and recreate xml/fr/dialogs/templates-dialog.xml. Bye, Ulf -- Ich denke, also bin ich kein Christ. -- Karlheinz Deschner signature.asc Description: This is a digitally signed message part. ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
Re: [Gimp-docs] Translated strings in po remain in English in html
Hi, > > Remove and recreate xml/fr/dialogs/templates-dialog.xml. > All is OK now Thank you and Merry Xmas! Julien ___ Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs