Re: Fwd: translatoid
On Thursday 06 August 2009, sacha schutz wrote: Le jeudi 6 août 2009 13:16:09, Aaron J. Seigo a écrit : On Thursday 06 August 2009, sacha schutz wrote: Maybe we can recreate Flags in Svg. This may be long, but drawings are easy http://commons.wikimedia.org/wiki/Category:SVG_flags flag images are not copyrightable, so we could just harvest all of those. That's cool! What next ? Use one Svg file for all flags ? Generate png file in share/icon/ or Oxygen ? So, you proabably know better than me what to do. that's a good question; putting them all in one svg may cut down on processing time for apps that use the svg data, though for apps that want just one flag (or a couple) it may be worse. some profiling would be necessary to know for sure, but some generated PNGs is probably a for sure thing. i don't know if we really need different sizes of PNGs or if just providing one size and letting implementations scale them down is enough. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Software signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Fwd: translatoid
On Thursday 06 August 2009, sacha schutz wrote: Ok I am agree about flags, it's ugly! Can I retrieve Flag icons from KLocale ? I can use something like this : http://www.archilinux.org/eeepc/kde5.png but those flags are really ugly, could them be replaced with the ones in translatoroid? still many missing i suppose? Le mercredi 5 août 2009 23:35:24, Albert Astals Cid a écrit : A Dimecres, 5 d'agost de 2009, Aaron J. Seigo va escriure: fwd'ing to k-c-d so people there know (e.g. translators) I'd like to object to this software embedding all the flags. Also i'd like to point out that the flags are using country codes and not language codes so you have ca - Canada instead of ca - Catalan eu - European Union instead of eu - Basque And LanguageModel::setupLanguageMap is doing something quite ugly. We have code for that in KLocale (hint languageCodeToName) Albert -- Forwarded Message -- Subject: translatoid Date: Wednesday 05 August 2009 From: sacha schutz istdask...@gmail.com To: plasma-devel@kde.org Hello I just copy the translatoid applet in kdereview/plasma/applets. I correct some bugs, like textColor and translation mistake. So, contact me if there are some problems with it. ++ ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --- ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel -- Marco Martin ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Fwd: translatoid
On Thursday 06 August 2009, Marco Martin wrote: On Thursday 06 August 2009, sacha schutz wrote: Ok I am agree about flags, it's ugly! Can I retrieve Flag icons from KLocale ? I can use something like this : http://www.archilinux.org/eeepc/kde5.png but those flags are really ugly, could them be replaced with the ones in translatoroid? still many missing i suppose? step 1 will be to just get a central system to draw the flags from in the first place, of course. but the reason, at least to me, that the current klocale flags are so ugly is they have the country codes on them. however, that might be useful for when they are used for locale setting since you usually know the country code in that case though perhaps not the flag. the country name is right there in text, however. so, to the i18n people: is it really necessary to put the country code on the flags for the locale settings? if it is, then i think we'll end up with two sets of flags: one with text and the other without. or maybe the ones with text could be dynamically created, though that would require a reasonable font being available on the system. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Software signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Fwd: translatoid
Maybe we can recreate Flags in Svg. This may be long, but drawings are easy to do. In this case, flags country can be used in other applications wich need big size. There is 215 flag to do. To do the job, we can ask the community from each corner of the word. That would be a nice symbol of the community power. We can send a post on planet kde with a model and wait . So what do you think ? Le jeudi 6 août 2009 11:47:38, Aaron J. Seigo a écrit : On Thursday 06 August 2009, Marco Martin wrote: On Thursday 06 August 2009, sacha schutz wrote: Ok I am agree about flags, it's ugly! Can I retrieve Flag icons from KLocale ? I can use something like this : http://www.archilinux.org/eeepc/kde5.png but those flags are really ugly, could them be replaced with the ones in translatoroid? still many missing i suppose? step 1 will be to just get a central system to draw the flags from in the first place, of course. but the reason, at least to me, that the current klocale flags are so ugly is they have the country codes on them. however, that might be useful for when they are used for locale setting since you usually know the country code in that case though perhaps not the flag. the country name is right there in text, however. so, to the i18n people: is it really necessary to put the country code on the flags for the locale settings? if it is, then i think we'll end up with two sets of flags: one with text and the other without. or maybe the ones with text could be dynamically created, though that would require a reasonable font being available on the system. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Fwd: translatoid
On Thursday 06 August 2009, sacha schutz wrote: Maybe we can recreate Flags in Svg. This may be long, but drawings are easy http://commons.wikimedia.org/wiki/Category:SVG_flags flag images are not copyrightable, so we could just harvest all of those. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Software signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Fwd: translatoid
On Thursday 06 August 2009 14:16:09 Aaron J. Seigo wrote: On Thursday 06 August 2009, sacha schutz wrote: Maybe we can recreate Flags in Svg. This may be long, but drawings are easy http://commons.wikimedia.org/wiki/Category:SVG_flags flag images are not copyrightable, so we could just harvest all of those. Dagesh word processor has a very complete bunch of decent looking flag-icons. This is a proprietary older windows app but there are utilies to harvest and convert these. Question do we need permission to extract this. Original publisher no longer exists. Program is still sold and marginally maintained (many years since last fixes, one of which I did) by Galtech in Jerusalem. This WP puts language/country up from rather than hidden away as a font-property. Oldest and maybe only WP to do multilingual nicely. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Fwd: translatoid
On Thursday 06 August 2009, David Baron wrote: Question do we need permission to extract this. yes. Original publisher no longer exists. that just makes it very, very hard to get permission. it doesn't remove the copyright on the content, however. :/ -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Software signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Flags, was Fwd: translatoid
On Thursday 06 August 2009, John Layt wrote: On Thursday 06 August 2009 10:47:38 Aaron J. Seigo wrote: step 1 will be to just get a central system to draw the flags from in the first place, of course. Hmmm, perhaps it's time to look into this, in between my print hacking. Unemployment has its upside :-) Now, where was that e-mail from the last discussion? but the reason, at least to me, that the current klocale flags are so ugly is they have the country codes on them. however, that might be useful for when they are used for locale setting since you usually know the country code in that case though perhaps not the flag. the country name is right there in text, however. Which flags are these? The ones in kdebase/runtime/l10n/ don't have the that ones yeah, quality seem to vary a lot between flags.. codes embedded in them, but they are rather small (about 21x14) PNG's and so not very useful. I suspect there's some code somewhere that dynamically adds the country code to the flag possibly in a localised form? Their being in kdebase is also not very useful to apps when kdebase isn't installed (and that raises the wider question of what other l10n stuff might belong in kdelibs too). hmm, seems to be all done in the kxkb applet code (i suppose the kcm uses that code too) the flag pixmap is taken, made an ugly grayish (by manyally iteratin pixels of the qimage, ouch) then the countrycode is painted on top. the result is yeah, not really pretty. now i've fixed the issue that it was discarding all the alpha value, so some flags had an ugly black border not even centered but having only the flag yeah, would look way better, not sure if there are issues i haven't tough about doing so tough And I won't even start the debate about whether flags are really the appropriate symbol to use for languages when multiple countries use the same language... :-) or a country with more than one language :p John. -- Marco Martin ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Flags, was Fwd: translatoid
On Thursday 06 August 2009, John Layt wrote: On Thursday 06 August 2009 10:47:38 Aaron J. Seigo wrote: step 1 will be to just get a central system to draw the flags from in the first place, of course. Hmmm, perhaps it's time to look into this, in between my print hacking. check this out: http://commons.wikimedia.org/wiki/Category:SVG_flags flags are not copyrightable, so we could just suck all those svg's into KDE, and generate pixmaps in common sizes (leave the SVGs for odd sizes too)! huzzah! -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Software signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Flags, was Fwd: translatoid
On Thursday 06 August 2009 10:47:38 Aaron J. Seigo wrote: step 1 will be to just get a central system to draw the flags from in the first place, of course. Hmmm, perhaps it's time to look into this, in between my print hacking. Unemployment has its upside :-) Now, where was that e-mail from the last discussion? but the reason, at least to me, that the current klocale flags are so ugly is they have the country codes on them. however, that might be useful for when they are used for locale setting since you usually know the country code in that case though perhaps not the flag. the country name is right there in text, however. Which flags are these? The ones in kdebase/runtime/l10n/ don't have the codes embedded in them, but they are rather small (about 21x14) PNG's and so not very useful. I suspect there's some code somewhere that dynamically adds the country code to the flag possibly in a localised form? Their being in kdebase is also not very useful to apps when kdebase isn't installed (and that raises the wider question of what other l10n stuff might belong in kdelibs too). And I won't even start the debate about whether flags are really the appropriate symbol to use for languages when multiple countries use the same language... :-) John. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
translatoid
Hello I just copy the translatoid applet in kdereview/plasma/applets. I correct some bugs, like textColor and translation mistake. So, contact me if there are some problems with it. ++ ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Fwd: translatoid
fwd'ing to k-c-d so people there know (e.g. translators) -- Forwarded Message -- Subject: translatoid Date: Wednesday 05 August 2009 From: sacha schutz istdask...@gmail.com To: plasma-devel@kde.org Hello I just copy the translatoid applet in kdereview/plasma/applets. I correct some bugs, like textColor and translation mistake. So, contact me if there are some problems with it. ++ ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --- -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Software signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Fwd: translatoid
A Dimecres, 5 d'agost de 2009, Aaron J. Seigo va escriure: fwd'ing to k-c-d so people there know (e.g. translators) I'd like to object to this software embedding all the flags. Also i'd like to point out that the flags are using country codes and not language codes so you have ca - Canada instead of ca - Catalan eu - European Union instead of eu - Basque And LanguageModel::setupLanguageMap is doing something quite ugly. We have code for that in KLocale (hint languageCodeToName) Albert -- Forwarded Message -- Subject: translatoid Date: Wednesday 05 August 2009 From: sacha schutz istdask...@gmail.com To: plasma-devel@kde.org Hello I just copy the translatoid applet in kdereview/plasma/applets. I correct some bugs, like textColor and translation mistake. So, contact me if there are some problems with it. ++ ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --- ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Fwd: translatoid
Ok I am agree about flags, it's ugly! Can I retrieve Flag icons from KLocale ? I can use something like this : http://www.archilinux.org/eeepc/kde5.png Le mercredi 5 août 2009 23:35:24, Albert Astals Cid a écrit : A Dimecres, 5 d'agost de 2009, Aaron J. Seigo va escriure: fwd'ing to k-c-d so people there know (e.g. translators) I'd like to object to this software embedding all the flags. Also i'd like to point out that the flags are using country codes and not language codes so you have ca - Canada instead of ca - Catalan eu - European Union instead of eu - Basque And LanguageModel::setupLanguageMap is doing something quite ugly. We have code for that in KLocale (hint languageCodeToName) Albert -- Forwarded Message -- Subject: translatoid Date: Wednesday 05 August 2009 From: sacha schutz istdask...@gmail.com To: plasma-devel@kde.org Hello I just copy the translatoid applet in kdereview/plasma/applets. I correct some bugs, like textColor and translation mistake. So, contact me if there are some problems with it. ++ ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --- ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel