[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-edu-devel
Subject:    [kde-edu]: error on klettres/add_language.php
From:       Burkhard =?iso-8859-15?q?L=FCck?= <lueck () hube-lueck ! de>
Date:       2006-06-30 7:39:50
Message-ID: 200606300939.50918.lueck () hube-lueck ! de
[Download RAW message or body]

Hi,

the description for adding a new language on edu.kde.org is wrong. Attached a 
patch to fix this error.

Annmarie Mahfouf is just moving to France and without internet until end of 
August.

Could someone please fix this wrong description?

Burkhard Lück

["klettres-add_language.diff" (text/x-diff)]

--- klettres-add_language-orig.html	2006-06-30 08:19:24.000000000 +0200
+++ klettres-add_language.html	2006-06-29 23:38:30.000000000 +0200
@@ -71,7 +71,7 @@
 
 <p>Here is a an outline of what to do if you want to add your own language to \
KLettres. Please keep in mind that KLettres is meant to help learning the alphabet \
and the more useful syllables in your language. Maybe some letters of the alphabet \
are never pronounced so you can remove those.</p>  <p>
-You will need 2 sets of sounds and 2 files with the data, one for the alphabet and \
one for the syllables. +You will need 2 sets of sounds, one for the alphabet and one \
for the syllables, one file with the data, and one file with  the special characters \
in your language, if there are any.  </p>
 
 <h4>RECORDING THE SOUNDS</h4>
@@ -79,7 +79,7 @@
 <li>
 Put each sound in a file, wav, ogg or mp3. ogg is better as it's free (versus \
mp3)<br />  the alphabet sounds can be stored as a-0.ogg, a-1.ogg, etc. or a.ogg, \
                b.ogg etc.<br />
-the syllables sounds can be stored as ad-0.ogg, ad-1.ogg and so on or ba.ogg, \
bi.ogg, etc.. +the syllables sounds can be stored as ad-0.ogg, ad-1.ogg and so on or \
ba.ogg, bi.ogg, etc..,<br /> but use only lower ascii characters for the file names.  \
</li>  <li>
 Each sound needs to be 1.5 to 2 seconds. If shorter, it will not play. Please add \
blank if necessary. @@ -88,12 +88,25 @@
 Place all the alphabet sounds in a folder named <i>alpha</i> and all syllables \
sounds in a folder named <i>syllab</i>  </li>
 <li>
-Create two text files, preferably using Kate as editor or another editor capable of \
different encoding. In the <i>alpha.txt</i> file, write all the alphabet sounds you \
                recorded, in the correct order, one upper case letter per line like \
                that<br />
-A<br />
-B<br />
-...<br />
-And save the text file with <b>utf8</b> encoding (upper right dropbox in kate allows \
                that)<br />
-Do the same for the <i>syllab.txt</i> file
+Create a text file <i>sounds.xml</i>, preferably using Kate as editor or another \
editor capable of different encoding. In this file, write all the alphabet sounds and \
syllable sounds you recorded, like this example for the czech language:<br /> \
+&lt;klettres&gt;<br /> +&lt;language code="cs"&gt;<br />
+    &lt;menuitem&gt;
+      &lt;label&gt;&amp;Czech&lt;/label&gt;<br />
+    &lt;/menuitem&gt;<br />
+    &lt;alphabet&gt;<br />
+        &lt;sound name="A" file="cs/alpha/a.ogg" /&gt;<br />
+	...<br />
+    &lt;/alphabet&gt;<br />
+    &lt;syllables&gt;<br />
+        &lt;sound name="BA" file="cs/syllab/ba.ogg" /&gt;<br />
+	...<br />
+    &lt;/syllables&gt;<br />
+  &lt;/language&gt;<br />
+&lt;/klettres&gt;<br />
+Replace "cs" with the two letter code and "Czech" with the name of your language. \
Write the sound names with the special characters of your language in upper case in \
utf8.<br /> +Create a text file <i>cs.txt</i> (replace "cs" with the two letter code \
of your language) with each special character in your language in upper case on one \
line.<br /> +And save both text files with <b>utf8</b> encoding (upper right dropbox \
in kate allows that)<br />  </li>
 <li>
 tar the 2 sounds directories plus the 2 text files and please send them to <a \
href="mailto:annemarie.mahfouf AT free DOT fr">that address</a> @@ -108,7 +121,7 @@
 
   <p>
  Author: Anne-Marie Mahfouf<br />
- Last update: 2006-03-02 </p>
+ Last update: 2006-06-29 </p>
  <p style="text-align:right;">[ <a href="add_language.php?edit" \
style="text-decoration:underline;">Edit</a> ]</p>  
 </div></div>
@@ -257,7 +270,7 @@
 <!--
 WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
 BE BLOCKED INSTANTLY AND PERMANENTLY!
-<a href="mailto:aaaatrap-44a4aef1548506b8@kde.org">Block me</a>
+<a href="mailto:aaaatrap-44a35d2f54850dce@kde.org">Block me</a>
 WARNING END
 -->
 



_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic