Re: Re: Question to Slovak Wikipedia SW
[email protected] (Andre Engels) 25 Feb 2004 01:22 GMT
| Newsgroups | gmane.science.linguistics.wikipedia.international |
|---|---|
| Message-ID | <[email protected]> |
--===============57121396507339828== Content-Type: Multipart/Alternative; Boundary="__Next_1077672140_Part485__" --__Next_1077672140_Part485__ Content-Type: Text/Plain; Charset="ISO-8859-1" Content-Transfer-Encoding: Quoted-Printable "Stanislav Valasek" <[email protected]> schrieb: > during a translation of LanguageSk.php we found out a variable: > "linktrail"=09=09=3D> "/^([a-z]+)(.*)\$/sD" >=20 > When is this variable used? > Do I need to provide our national RegEx? > If yes, could somebody post a link to used RegEx's? Or just regular PHP= =20 > RegEx's are used (not working with PHP deeply - I have no detailed info= =20 > about it)? > Would be helpful to add a few comments to language file - for better=20 > orientation of translator. It may have more uses, but one place where it is used is in 'finishing' words of which the start is said to link. It is this expression that decides that if you type [[zoo]]keeper-convention, the 'zookeeper' becomes the link, rather than 'zoo' or 'zookeeper-convention'. A change that would be good to make in your language file would be to add accented characters. On nl: I have for example changed this to "/^([=E4=F6=FC=EF=EB=E9=E8=E0a-z]= +)(.*)$/sD", so that =E4=F6=FC=EF=EB=E9=E8=E0 are also all seen as letters for this purpose. On = de: it is "/^([=E4|=F6|=FC|=DF|a-z]+)(.*)$/sD" to do=20 so with =E4=F6=FC=DF, etcetera. fr uses "/^([a-z=E0=E2=E7=E9=E8=EA=EE=F4=FB= ]+)(.*)$/sD" - just to show you that apparently the exact syntax of what is between these square brackets does not matter t= hat much. In short, look at which characters other than the standard 26 letters of th= e standard Latin alphabet should be considered 'letters' in your language, and add these between the = square brackets. Andre Engels --__Next_1077672140_Part485__ Content-Type: Text/HTML; Charset="ISO-8859-1" Content-Transfer-Encoding: Quoted-Printable <html> <head> <meta content=3D"text/html; charset=3Diso-8859-1" http-equiv=3D"Content-Typ= e"> </head> <body> <font face=3D"Courier New" size=3D2>"Stanislav Valasek" <stano= [email protected]> schrieb:</font><br> <font face=3D"Courier New" size=3D2>> during a translation of LanguageSk= .php we found out a variable:</font><br> <font face=3D"Courier New" size=3D2>> "linktrail" &= nbsp; =3D> "/^([a-z]+)(.*)$/sD"</font><br> <font face=3D"Courier New" size=3D2>> </font><br> <font face=3D"Courier New" size=3D2>> When is this variable used?</font>= <br> <font face=3D"Courier New" size=3D2>> Do I need to provide our national = RegEx?</font><br> <font face=3D"Courier New" size=3D2>> If yes, could somebody post a link= to used RegEx's? Or just regular PHP </font><br> <font face=3D"Courier New" size=3D2>> RegEx's are used (not working with= PHP deeply - I have no detailed info </font><br> <font face=3D"Courier New" size=3D2>> about it)?</font><br> <font face=3D"Courier New" size=3D2>> Would be helpful to add a few comm= ents to language file - for better </font><br> <font face=3D"Courier New" size=3D2>> orientation of translator.</font><= br> <br> <font face=3D"Courier New" size=3D2>It may have more uses, but one place wh= ere it is used is in 'finishing'</font><br> <font face=3D"Courier New" size=3D2>words of which the start is said to lin= k. It is this expression that</font><br> <font face=3D"Courier New" size=3D2>decides that if you type [[zoo]]keeper-= convention, the 'zookeeper' becomes</font><br> <font face=3D"Courier New" size=3D2>the link, rather than 'zoo' or 'zookeep= er-convention'. A change that would</font><br> <font face=3D"Courier New" size=3D2>be good to make in your language file w= ould be to add accented characters.</font><br> <font face=3D"Courier New">On nl: I have for example changed this to "= </font><font face=3D"Times New Roman" size=3D3>/^([=E4=F6=FC=EF=EB=E9=E8=E0= a-z]+)(.*)$/sD", so that</font><br> <font face=3D"Times New Roman" size=3D3>=E4=F6=FC=EF=EB=E9=E8=E0 are also a= ll seen as letters for this purpose. On de: it is "/^([=E4|=F6|=FC|=DF= |a-z]+)(.*)$/sD" to do </font><br> <font face=3D"Times New Roman" size=3D3>so with =E4=F6=FC=DF, etcetera. fr = uses "/^([a-z=E0=E2=E7=E9=E8=EA=EE=F4=FB]+)(.*)$/sD" - just to sh= ow you that apparently</font><br> <font face=3D"Times New Roman" size=3D3>the exact syntax of what is between= these square brackets does not matter that much.</font><br> <br> <font face=3D"Times New Roman" size=3D3>In short, look at which characters = other than the standard 26 letters of the standard Latin alphabet</font><br= > <font face=3D"Times New Roman" size=3D3>should be considered 'letters' in y= our language, and add these between the square brackets.</font><br> <br> <font face=3D"Times New Roman" size=3D3>Andre Engels</font><br> <br> </body> </html> --__Next_1077672140_Part485__-- --===============57121396507339828== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intlwiki-l mailing list [email protected] http://mail.wikipedia.org/mailman/listinfo/intlwiki-l --===============57121396507339828==--