On 24/04/11 06:56, Anastasios Milios wrote:
> Dear All,
>
> I am modifying the the Semantic forms and i would like to add some text
> in Greek Language.
> Lokking at the SF_Messages.php in the language folder the Greek
> Charcters are dsplayed like:
> 'semanticforms-desc' =>  'Φόρμες για την προσθήκη
> και επεξεργασία σημασιολογικών
> δεδομένων',
>
> When i add a new message for example:
>       'sf_formstart_noform_docu'           =>  'Ελληνικα',
> My front end shows ��������....
>
> How can i add Greek messages correctly?

There are many different ways to encode non-Latin characters in files. 
MediaWiki and all its extensions use UTF-8 as their only encoding. When 
editing files with non-Latin symbols, you must make sure that your 
editor uses this encoding, or it will mess up the file contents (even if 
you do not change the non-Latin symbols at all). See the documentation 
for your editor for details on how to select the right character encoding.

If the default message texts are already showing wrongly on your 
installation, something might have gone wrong when installing SF (maybe 
the files got corrupted by editing them earlier with the tool you use?), 
or the messages are really wrong at translatewiki.net (unlikely, but you 
can go to that site to check).

The best way to customize MediaWiki messages for a wiki is to edit the 
page MediaWiki:message_name, e.g. MediaWiki:sf_formstart_noform_docu, on 
your wiki.

Regards,

Markus

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to