diff options
Diffstat (limited to 'zarb-ml/mageia-i18n/2012-July/003232.html')
| -rw-r--r-- | zarb-ml/mageia-i18n/2012-July/003232.html | 149 |
1 files changed, 149 insertions, 0 deletions
diff --git a/zarb-ml/mageia-i18n/2012-July/003232.html b/zarb-ml/mageia-i18n/2012-July/003232.html new file mode 100644 index 000000000..a3119313d --- /dev/null +++ b/zarb-ml/mageia-i18n/2012-July/003232.html @@ -0,0 +1,149 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-i18n] Some problems with website + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-i18n%40mageia.org?Subject=Re%3A%20%5BMageia-i18n%5D%20Some%20problems%20with%20website&In-Reply-To=%3CCAPDQr5%2B-a70ySP6Xc3GqnTTT%2B3jdkTuxfL4jMkPBbzc-ZBRh7w%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="003219.html"> + <LINK REL="Next" HREF="003154.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-i18n] Some problems with website</H1> + <B>Filip Komar</B> + <A HREF="mailto:mageia-i18n%40mageia.org?Subject=Re%3A%20%5BMageia-i18n%5D%20Some%20problems%20with%20website&In-Reply-To=%3CCAPDQr5%2B-a70ySP6Xc3GqnTTT%2B3jdkTuxfL4jMkPBbzc-ZBRh7w%40mail.gmail.com%3E" + TITLE="[Mageia-i18n] Some problems with website">filip.komar at gmail.com + </A><BR> + <I>Mon Jul 30 18:00:57 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="003219.html">[Mageia-i18n] Some problems with website +</A></li> + <LI>Next message: <A HREF="003154.html">[Mageia-i18n] Added 6 new strings in web page support.en.lang +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3232">[ date ]</a> + <a href="thread.html#3232">[ thread ]</a> + <a href="subject.html#3232">[ subject ]</a> + <a href="author.html#3232">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>@Romain mostly ;) +><i> first a big, huge thank you again for diving into this! It's really +</I>><i> great to see more people grasping this Web site. :) +</I>Thanks Romain. Nice to read that ;). All I did was some scratches on the +surface and mainly those were my itches ;). I'll gladly try some more but +since for now I'm still alone in Slovenian i18n team we'll see. Php is +really interesting hobby for me and I voluntary admin one self-recovery +website including their member page and some data input and pdf generation +from database. Great creative and learning experience but it also take a +lot of my time. Due to serious medical condition of my knee I had more time +for 4 months from the middle of February. Now when I'm in the middle of 2 +week leave I do some practice ;). I'll focus on help for our team +especially on lang system conversion. I can do some work or tests for you +in the long run but I really can't promise much since all this described +above take a lot of my time. I'm sure that you understand my position and +priorities. + + +>><i> 1. Why $post argument in function _t [4] append space by default? It +</I>looks a +>><i> bit strange on some pages as on few strings there is sometimes comma +</I>after +>><i> translated word. For example in community page. +</I>><i> +</I>><i> Indeed. I did it too fast. The problem I used to have was, when doing so: +</I>><i> +</I>><i> _e('some string.'); +</I>><i> _h('again %s!', array('here'), 'h1'); +</I>><i> _e('some other string.'); +</I>><i> +</I>><i> To have no space after the dots. +</I>I'm sorry I'm afraid that I failed to fully understand the logic of +functions _e, _h, _t and _d and it's chain loading without a test server on +my PC. Maybe I'll setup another one ;). This is maybe a oversimplification +but for easier understanding here is what I see now. Difference between _e +and _h is that last one adds tags but they both call _t which all it does +is returns translated string from _d and add space or something else. I +looks to me that you added function _t just for that problem of added +space. Can _t and _d be merged? Both _e and _h can take arrays as argument +but I think that this won't be needed when transition to lang system is +fully finished. Is there anything missing or wrong with that (mine) +understanding? Right now I'm unsure if I can be any assistance in this. + + +><i> I can improve the pa2lang.php script. +</I>To my experience it works fine. As I recall there weren't any negative +reports from others either. + +><i> As for extract2lang, I would suggest to use Mozilla's tools instead as +</I>they are likely more mature. +I didn't try to use extract2lang yet so no feedback from my side yet. +Mozilla's tools are unknown to me. Can you or anyone give me a link to +learn about them as I couldn't find it. + +><i> fr/thanks and en/for are relics. You can remove them. */faq too +</I>Done [1]. They were all empty. + +><i> Although en/migrate may be removed as well. +</I>Done [1]. No content on page anyway. + +><i> As for the redirections, I'm working on a small dispatcher ... +</I>Great. + + +>><i> It would be nice and fair if such old translations +</I>>><i> would be visible in our report page. +</I>><i> +</I>><i> That is? (not sure I got the idea) +</I>The idea is about small improvement in report.php. Similar as function +get_other_langs() checks for files in subdirectory of /langs/ there would +be a new function which would search for *.php and *.html files in root +language directories like /cs/ and all other languages of course. + +if (file_exists($langF)) { + ... +} else { + if (non_lang_translation_php_file_exists()) { + sprintf('<td class="old_translation_present (background: +yellow;)">Old translation php file present. Would you like to <a +href="missing.php?s=%s&l=%s">convert it</a> to new system?</td>' ... + } else { + sprintf('<td class="missing">add</td>' ... + } +} + +I hope that I explained my idea a bit better. + +Thanks for your time reading this, +Filip. + +[1] <A HREF="http://svnweb.mageia.org/web?view=revision&revision=1532">http://svnweb.mageia.org/web?view=revision&revision=1532</A> +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-i18n/attachments/20120730/86de1198/attachment.html> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="003219.html">[Mageia-i18n] Some problems with website +</A></li> + <LI>Next message: <A HREF="003154.html">[Mageia-i18n] Added 6 new strings in web page support.en.lang +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3232">[ date ]</a> + <a href="thread.html#3232">[ thread ]</a> + <a href="subject.html#3232">[ subject ]</a> + <a href="author.html#3232">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-i18n">More information about the Mageia-i18n +mailing list</a><br> +</body></html> |
