Localization :  K-Meleon Web Browser Forum
All about translating K-Meleon. Creating and updating locales, solving l10n-related bugs, etc. 
Pages: 123Next
Current Page: 1 of 3
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: rodocop
Date: December 28, 2017 05:34PM

Quote
J.G.
Before to release the final non-test build, please fix the error shown at preferences, privacy & security first section (while spanish language has been set), if possible. :s

This needs some work made by locale maintainers. Anyone speaking español could make that edits following universal instructions (part of them are given already in italian and turkish localization threads; and I can provide missing ones)



Edited 1 time(s). Last edit at 12/28/2017 07:53PM by siria.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1 (Build 20171223) / weekly-2
Posted by: guenter
Date: December 28, 2017 06:07PM

Quote
rodocop
Quote
J.G.
Before to release the final non-test build, please fix the error shown at preferences, privacy & security first section (while spanish language has been set), if possible. :s

This needs some work made by locale maintainers. Anyone speaking español could make that edits following universal instructions (part of them are given already in italian and turkish localization threads; and I can provide missing ones)

Notify desgas2?

I have his e-mail no idea whether that is current.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1 (Build 20171223) / weekly-2
Posted by: J.G.
Date: December 28, 2017 06:27PM

Quote
rodocop
Quote
J.G.
Before to release the final non-test build, please fix the error shown at preferences, privacy & security first section (while spanish language has been set), if possible. :s

This needs some work made by locale maintainers. Anyone speaking español could make that edits following universal instructions (part of them are given already in italian and turkish localization threads; and I can provide missing ones)

After read instructions for italy language, I browse inside KM-Goanna folder to KM-Goanna\locales\es-ES, and I see es-ES.jar with some files. How do I edit the *.dtd files? The error to be fixed is pointing to error to read XML (entity not defined), about chrome://kmprefs/content/pref-privacy.xul, number line 170, column 10. Probably the awesome work done by Niceeight was hard because he wanted to translate all the IT locale language. Indeed if I were able to find that line 170 and column 10 I could try to fix by myself and help this project. smiling smiley

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1 (Build 20171223) / weekly-2
Posted by: J.G.
Date: December 28, 2017 06:50PM

Quote
J.G.
Quote
rodocop
Quote
J.G.
Before to release the final non-test build, please fix the error shown at preferences, privacy & security first section (while spanish language has been set), if possible. :s

This needs some work made by locale maintainers. Anyone speaking español could make that edits following universal instructions (part of them are given already in italian and turkish localization threads; and I can provide missing ones)

After read instructions for italy language, I browse inside KM-Goanna folder to KM-Goanna\locales\es-ES, and I see es-ES.jar with some files. How do I edit the *.dtd files? The error to be fixed is pointing to error to read XML (entity not defined), about chrome://kmprefs/content/pref-privacy.xul, number line 170, column 10. Probably the awesome work done by Niceeight was hard because he wanted to translate all the IT locale language. Indeed if I were able to find that line 170 and column 10 I could try to fix by myself and help this project. smiling smiley

Sorry for answering to myself, it is for help you to follow the conversation:

Well I found pref-privacy.xul and surprisingly all it's rightly translated to spanish but not ordered like the other locales (e.g., france locale). After ordered, it still does not work, so do you see something wrong at next lines?:

<!ENTITY % prefDTD SYSTEM "chrome://kmprefs/locale/pref.dtd">%prefDTD;
<!ENTITY privacy.header "Configuraciones de privacidad y seguridad">
<!ENTITY privacy.signons "Recordar los datos de login (nombres de usuarios y contraseñas)">
<!ENTITY privacy.signons.view "Administrar contraseñas y sitios webs...">
<!ENTITY privacy.protect "&note; Usar una contraseña maestra para proteger la información sensible.">
<!ENTITY privacy.paranoia "Paranoia">
<!ENTITY cookies.accept "Aceptar cookies">
<!ENTITY cookies.accept.always "Siempre">
<!ENTITY cookies.accept.noForeign "Solamente del sitio web originario">
<!ENTITY cookies.accept.p3p "Según la configuración de privacidad">
<!ENTITY cookies.accept.never "Nunca (Bloquear cookies)">
<!ENTITY cookies.keep "Mantener cookies">
<!ENTITY cookies.keep.normally "Hasta su fecha de expiración">
<!ENTITY cookies.keep.session "Hasta el final de la sesión">
<!ENTITY cookies.keep.daysBefore "Por un máximo de">
<!ENTITY cookies.keep.daysAfter "días">
<!ENTITY cookies.keep.ask "Preguntar para cada cookie">
<!ENTITY cookies.keep.ask.notForSession "Excepto para cookies de sesión">
<!ENTITY cookies.view "Cookies guardadas actualmente...">
<!ENTITY cookies.view.p3p "Configuración de privacidad">
<!ENTITY useragent.label "Identidad del navegador">
<!ENTITY useragent.select "Determine cómo debería identificarse K-Meleon:">
<!ENTITY useragent.note "&note; Falsificar la identidad del navegador podría impedir importantes características para el funcionamiento de algunos sitios webs. Aunque sea falsificada, los sitios webs podrían usar otros métodos para obtener información sobre su sistema.">


I have seen member @Guenter to write in german language, so I put the pref-privacy.xul from german DE locale too:

<!ENTITY % prefDTD SYSTEM "chrome://kmprefs/locale/pref.dtd">%prefDTD;
<!ENTITY privacy.header "Einstellungen zu Datenschutz und Sicherheit">
<!ENTITY privacy.signons "Anmeldedaten speichern (Benutzernamen und Passwörter)">
<!ENTITY privacy.signons.view "Passwörter und Sites verwalten...">
<!ENTITY privacy.protect "&note; Verwenden Sie ein Master-Passwort, um sensible Informationen zu schützen.">
<!ENTITY privacy.paranoia "Paranoia">
<!ENTITY cookies.accept "Cookies annehmen">
<!ENTITY cookies.accept.always "Immer">
<!ENTITY cookies.accept.noForeign "Nur von der Original-Website">
<!ENTITY cookies.accept.p3p "Entsprechend den Datenschutzeinstellungen">
<!ENTITY cookies.accept.never "Nie (Cookies blockieren)">
<!ENTITY cookies.keep "Cookies behalten">
<!ENTITY cookies.keep.normally "Bis zum Verfallsdatum">
<!ENTITY cookies.keep.session "Bis zum Ende der Sitzung">
<!ENTITY cookies.keep.daysBefore "Höchstens">
<!ENTITY cookies.keep.daysAfter "Tage lang">
<!ENTITY cookies.keep.ask "Für alle Cookies fragen">
<!ENTITY cookies.keep.ask.notForSession "Außer für Sitzungscookies">
<!ENTITY cookies.view "Momentan gespeicherte Cookies...">
<!ENTITY cookies.view.p3p "Datenschutzeinstellungen">
<!ENTITY useragent.label "Browserkennung">
<!ENTITY useragent.select "Legen Sie fest, wie K-Meleon sich ausweisen soll:">
<!ENTITY useragent.note "&note; Das Fälschen der Browserkennung könnte wichtige Funktionen mancher Websites unterbinden. Selbst wenn gefälscht, könnten Websites noch andere Methoden verwenden, um Informationen über Ihren Computer zu erhalten.">


Something seems wrong beyond translation, I guess. :mad:



Edited 3 time(s). Last edit at 12/28/2017 06:56PM by J.G..

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1 (Build 20171223) / weekly-2
Posted by: J.G.
Date: December 28, 2017 07:17PM

Same problem found for pref-privacy.xul observed with German DE locale, France FR locale and Chinese CN locale, KM-Goanna latest testing-build. Security and privacy main section (general & paranoia) is not shown after set locale language to all the mentioned before. Same warning like after set spanish ES locale is shown about something related to line 170, column 10 -- so probably this is beyond translation issue I guess again. :s



Edited 1 time(s). Last edit at 12/28/2017 07:19PM by J.G..

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: siria
Date: December 28, 2017 07:48PM

Quote
J.G.
Same problem found for pref-privacy.xul observed with German DE locale, France FR locale and Chinese CN locale, KM-Goanna latest testing-build. Security and privacy main section (general & paranoia) is not shown after set locale language to all the mentioned before. Same warning like after set spanish ES locale is shown about something related to line 170, column 10 -- so probably this is beyond translation issue I guess again. :s

And in the brandnew italian translation..?



Edited 1 time(s). Last edit at 12/28/2017 07:54PM by siria.

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: J.G.
Date: December 28, 2017 07:59PM

Quote
siria
Quote
J.G.
Same problem found for pref-privacy.xul observed with German DE locale, France FR locale and Chinese CN locale, KM-Goanna latest testing-build. Security and privacy main section (general & paranoia) is not shown after set locale language to all the mentioned before. Same warning like after set spanish ES locale is shown about something related to line 170, column 10 -- so probably this is beyond translation issue I guess again. :s

And in the brandnew italian translation..?

Oh, my bad, I'm sorry! After added italian IT locale language following the instructions by Niceeight, same error about line 170, colum 10 observed. All the other options seem to be right. I forgot that IT language needs to be added manually, it should be included for future releases, shouldn't it? :s

Italian language to install manually:
http://kmeleonbrowser.org/forum/file.php?20,file=1584,filename=locales_IT_KM75.1.7z



Edited 1 time(s). Last edit at 12/28/2017 08:01PM by J.G..

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: siria
Date: December 28, 2017 08:15PM

Quote
J.G.
The error to be fixed is pointing to error to read XML (entity not defined), about chrome://kmprefs/content/pref-privacy.xul, number line 170, column 10. (...)
Indeed if I were able to find that line 170 and column 10 I could try to fix by myself and help this project. smiling smiley

Have no clue about translations, so just unzipped omni.ja into a new folder and did a file search - bingo, file found smiling smiley
Line 170 is something with "cookies.accept.visited" - perhaps this is new and missing yet in translation package??

(PS: do you have a good editor with numbered lines and syntax highlighting already? Just asking because when *I* started had no clue such a thing even existed, costed a lot of wasted time)



Edited 1 time(s). Last edit at 12/28/2017 08:21PM by siria.

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: siria
Date: December 28, 2017 08:20PM

Hm, then again:
When I switch B20171223 to german and restart, there is no error? And F2>Privacy with the cookie settings opens normal?
*riddling*

Oops - was still english. After it opened in german the error was there!
And it even showed the missing string "...visited..." directly, when scrolling a bit to the right smiling smiley



Edited 1 time(s). Last edit at 12/28/2017 08:40PM by siria.

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: rodocop
Date: December 28, 2017 08:36PM

siria is right.

If XUL-file cannot find some ENTITY in .dtd or .properties file - it gives an error.

<!ENTITY cookies.accept.visited		"From visited sites only">

This should be added to spanish (and other langs where missing) dtd.

And so will be done with all missing entities. There are some new in Goanna.

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: J.G.
Date: December 28, 2017 08:56PM

Quote
siria
(...)
(PS: do you have a good editor with numbered lines and syntax highlighting already? Just asking because when *I* started had no clue such a thing even existed, costed a lot of wasted time)

I downloaded Notepad++ 7.5.3 just for this to have a better look to the the files but I sincerely have no idea about how to fix this issue or where the error is. sad smiley

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: siria
Date: December 28, 2017 09:06PM

There just a line missing with a new word in the files that you quoted yourself above in ES+DE

-----
Unzip this file: KM/browser/omni.ja
Do a windows file search for "pref-privacy.xul"
=> 2 results:
- one is the xul-file where you can see in line 170 what's missing in the other file (cookies.visited)
- the other looks like the english dtd template, can be used to compare if all lines exist in the translated dtd's too



Edited 1 time(s). Last edit at 12/28/2017 09:41PM by siria.

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: rodocop
Date: December 28, 2017 09:09PM

If write here translation for missed entities, I will update locales by myself. But need time.

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: siria
Date: December 28, 2017 09:20PM

F2 > Privacy...

Quote

Accept Cookies:
x ...
x ...
x ...
x From visited sites only = ??

DE: Nur von besuchten Seiten

guenter...?

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: J.G.
Date: December 28, 2017 09:31PM

Quote
siria
There just a line missing with a new word in the files that you quoted yourself above in ES+DE

-----
Unzip this file: KM/browser/omni.ja
Do a windows file search for "privacy.xul"
=> 2 results:
- one is the xul-file where you can see in line 170 what's missing in the other file (cookies.visited)
- the other looks like the english dtd template, can be used to compare if all lines exist in the translated dtd's too

I have been unable to find the file privacy.xul inside omni.ja at KM/browser. sad smiley

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: siria
Date: December 28, 2017 09:46PM

sorry was a bit sloppy, just to get search results:
of course "pref-privacy.xul", the one that gives you the error.

Or is unzipping the prob...?
Or the windows file search...?
Sorry for the stupid question, but for example the XP search finds by default NO hidden or system files, it must be enabled as option first somewhere. And Win7 has a real tricky search too, also with idiotic default settings.

...K-Meleon/browser/omni.ja!/chrome/kmeleon/content/kmprefs/pref-privacy.xul



Edited 1 time(s). Last edit at 12/28/2017 09:50PM by siria.

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: rodocop
Date: December 28, 2017 09:46PM

not privacy.xul but pref-privacy.xul

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: J.G.
Date: December 28, 2017 10:02PM

Ok, now I found it, line 170 is:
<radio value="3" label="&cookies.accept.visited;"/>

However, I can't see how this line can affect to FR, DE, CN, ES and IT locales.
I delete the line and KM-Goanna is now broken, bad idea. :mad:



Edited 1 time(s). Last edit at 12/28/2017 10:03PM by J.G..

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: siria
Date: December 28, 2017 10:13PM

Quote
J.G.
Ok, now I found it, line 170 is:
<radio value="3" label="&cookies.accept.visited;"/>

However, I can't see how this line can affect to FR, DE, CN, ES and IT locales.
I delete the line and KM-Goanna is now broken, bad idea. :mad:

LOL!! Sorry but yes, that's really a bad idea grinning smiley grinning smiley
There's just a fundamental misunderstanding:
The prob is NOT in the XUL file itself!
The prob is caused because a new word or expression was added to the xul, but this is missing yet in a translation file (dtd). So instead of deleting something in the xul, there must be ADDED a line in the dtd...

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: J.G.
Date: December 28, 2017 10:14PM

Quote
siria
sorry was a bit sloppy, just to get search results:
of course "pref-privacy.xul", the one that gives you the error.
(...)

The translation exists, but KM-Goanna can't read it for some reason.
In fact, all locale translations exist for that file pref-privacy.xul, for all the mentioned locales, chinese, french, german, spanish and italian languages.
So I have start to think that warning line 170 and column 10 is wrong itself, because I can't see any relation between that cookies line and all missing locales for that section of preferences. Anyway, my help is very low level so I'm sorry. :s

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: J.G.
Date: December 28, 2017 10:18PM

Quote
siria
(...)
The prob is caused because a new word or expression was added to the xul, but this is missing yet in a translation file (dtd). So instead of deleting something in the xul, there must be ADDED a line in the dtd...

Oh LOL, that sounds like an increased amount of work to fix it. ._.

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: J.G.
Date: December 28, 2017 10:29PM

The question is why Russian, Chinese and English don't show the warning.
As I said, all locale translations exist for the pref-privacy.xul file.
I will think about it tomorrow. ¬_¬ Anyway, thank you very much for your attention, I know that there are more important things to solve for future KMeleon Goanna. smiling smiley



Edited 2 time(s). Last edit at 12/28/2017 10:31PM by J.G..

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: rodocop
Date: December 28, 2017 10:39PM

Goanna incorporated some stuff added to KM 76 from Pro-build (or just discussed in time of 75-76-development).

Some locales were updated by Dorian himself, me and Chanson Yu, but other weren't updated in full.

That's all.

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: siria
Date: December 28, 2017 10:41PM

English no error, because the dev has already added it smiling smiley
Russian not, because rodocop has already added it smiling smiley
Chinese not because Chanson Yu (IIRC) has already added it smiling smiley

Not really much work to fix, if you know where and what:
OPEN K-Meleon/locales/es-ES.jar with 7-zip (not unzip, just open)
inside click on kmpres/pref-privacy.dtd to open it

add this line:

Quote
rodocop
<!ENTITY cookies.accept.visited		"From visited sites only">
This should be added to spanish (and other langs where missing) dtd.

instead of english in spanish of course.
something like this? (google translate)
"Solo desde sitios visitados"

Save the file and close editor.
Confirm that the edits shall be saved inside the jar-file too.
Done!



Edited 1 time(s). Last edit at 12/28/2017 10:42PM by siria.

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: J.G.
Date: December 28, 2017 10:55PM

Oh, I was walking in the right direction initially with es-ES.jar!
Thanks both @siria and @rodocop, it worked, spanish language fixed! grinning smiley

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: siria
Date: December 28, 2017 11:10PM

Congratulations!! When it works, it's fun, eh? grinning smiley

And would you mind telling us which is the correct spanish translation? smiling smiley

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: J.G.
Date: December 28, 2017 11:32PM

Quote
siria
Congratulations!! When it works, it's fun, eh? grinning smiley

And would you mind telling us which is the correct spanish translation? smiling smiley

Your translation was good! I fixed also french and german locales also following your instructions. However IT italian locale is unable to get fixed such this. After fixed all locale the IT language is unable to load preference options. At least three main languages have been fixed. smiling smiley

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: J.G.
Date: December 28, 2017 11:54PM

Quote
J.G.
Quote
siria
Congratulations!! When it works, it's fun, eh? grinning smiley

And would you mind telling us which is the correct spanish translation? smiling smiley

Your translation was good! I fixed also french and german locales also following your instructions. However IT italian locale is unable to get fixed such this. After fixed all locale the IT language is unable to load preference options. At least three main languages have been fixed. smiling smiley


Sorry again for answer to myself, it is for help to follow the conversation:

Fixed IT italian locale adding these lines to it.jar, kmprefs, pref.dtd:
<!ENTITY buildname.label "disabled=false;">
<!ENTITY builddate.label "disabled=true;">


And then adding the common line to it.jar, kmprefs, pref-privacy.dtd:
<!ENTITY cookies.accept.visited "Solo da siti visitati">

All locales fixed! Thanks for show me how to fix them! grinning smiley



Edited 3 time(s). Last edit at 12/28/2017 11:56PM by J.G..

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: guenter
Date: December 29, 2017 02:15AM

Sorry I was not present and using the last version in English.
Mail me in such cases. Are You finished with German locale?

German pref-privacy.dtd dates from 2014 when I last had to update.
And it has one line less than the English one.
When I look at dtd I first look at time stamp then at number of lines.

I use PSPad.

Do not forget that we must save in UTF8 for all languages.

Options: ReplyQuote
Re: [TRANSLATION] K-Meleon 76 on Goanna 3.4.1
Posted by: guenter
Date: December 29, 2017 02:37AM

Quote
rodocop
Goanna incorporated some stuff added to KM 76 from Pro-build (or just discussed in time of 75-76-development).

Some locales were updated by Dorian himself, me and Chanson Yu, but other weren't updated in full.

That's all.

What strings? List.

I case there is more to do.



Edited 1 time(s). Last edit at 12/29/2017 02:38AM by guenter.

Options: ReplyQuote
Pages: 123Next
Current Page: 1 of 3


K-Meleon forum is powered by Phorum.