greek


Update: ElStr.class.php goes to v1.2

php-iconThe PHP Class ElStr with usefull functions for modern greek unicode text manipulation, such as transcript greek to latin, or accent marks stripping is now updated to version 1.2

What’s new?

  • mixed case support for difthongs, etc:
    • μπ => mp or τζ => tz
    • Μπ => Mp or Τζ => Tz
    • μΠ => mP or τΖ => tZ
    • ΜΠ => MP or ΤΖ => TZ

  • Two new accent mark removal methods:
    • strtolower_no_accent($str) – that Convert unicode string to lower case, without accent marks for the greek letters
    • str_no_accent($str) – that Remove accent marks for the greek letters at passed unicode string (no any case convertion)

Examples

require('ElStr.class.php') ;
$txt = "Το μπαρμπουνάκι θέλει μπυρίτσα" ;
$elstrObj = new El_Str() ;

echo $elstrObj->to_latin($txt) ;
//echoes: To barmpounaki thelei byritsa

echo $elstrObj->strtoupper_no_accent($txt) ;
//echoes: ΤΟ ΜΠΑΡΜΠΟΥΝΑΚΙ ΘΕΛΕΙ ΜΠΥΡΙΤΣΑ

echo $elstrObj->strtolower_no_accent($txt) ;
//echoes: το μπαρμπουνακι θελει μπυριτσα

echo $elstrObj->str_no_accent($txt) ;
//echoes: Το μπαρμπουνακι θελει μπυριτσα

Downloads

Download v1.2      View Source


Ellat: A Greek to Latin transcriptor tool, for text and filenames

ellat-v2.6-screenshot-0Ellat, transcript greek text into latin, using the ELOT 743 (ISO 843) standard.

Except the text input, this program, using the MS Windows drag’n’drop features, can be used as file renamer, transcripting greek filenames. It’s an open source program, targetting MS Windows platform with .NET 3.5 framework.

For more info, updates and download see at the project’s home page


ElStr.class.php

php-iconA PHP Class with usefull functions for modern greek unicode text manipulation, such as transcript greek to latin, or upper case greek letters stripped from accent marks.

Functions
string to_latin($str)

  • Convert greek letters at the string to latins, as ISO:843 / ΕΛΟΤ:743 defines
  • $str string to convert
  • Returns converted string

string strtoupper_no_accent($str)

  • Convert unicode string to upper case, without accent marks for the greek letters
  • $str string to upper case convert
  • Returns converted string

bool is_upper($char, $notGreekException = false)

  • Check if $char is upper case
  • $char is the character for checking
  • If $notGreekException == true, throws exception when char is not greek
  • Returns true if $char is upper case, else false

bool is_lower($char, $notGreekException = false)

  • Check if $char is lower case
  • $char is the character for checking
  • If $notGreekException == true, throws exception when char is not greek
  • Returns true if $char is lower case, else false

Download      Frok it at Github

License
This project is free software, distributed under the terms & conditions of the FreeBSD License.


ZArchiver acquires Greek localization

zarchiver-logoZArchiver is an android application to manage archives. It’s great not only as an archiver, but also as an android file manager. From the version 0.6.6 I contribute to the project, making the Greek localization.

For more info see at the Localization Project’s Page.

Screenshots from greek UI


WebServices.dll library – ver 1.1

networkMultipetros.WebServices is an open source library (FreeBSD Lisenced) library writted in C#, targeting the .NET Framework 3.5, with classes which interact, wrapp and invoke web services.

At the moment these classes are available:

– class AfmInfo
Automate the downloading process of RgWsBasStoixEpitRtUser object for a given Greek VATIN using the SOAP messages from the Greek GSIS Government web service. The downloaded object have fields with info about the given VATIN.
AfmInfo also used as a wrapper that convert RgWsBasStoixEpitRtUser fields into Properties and provide better and safer access ways. Except the Properties, have Methods to get the original dowloaded object and a Dictionary with the Properties Names as dict. keys and their values as dict. values.

– class GoogleCurrencies
Download exchange rates for supported currencies from Google’s web service.
For downloads, documentations and updates see at the projects page at multipetros.gr/public-projects/webservices-dll/


Firefox CSS text-transform now supports greek sigma case

As posted at the FirefoxNigthly Blog, Mozilla from today support the specific case mapping rule for the greek lowercase sigma ‘Σ’ at the CSS3 “text-transform: lowercase” implementation.

In greek language the lowercase sigma, if is a word-terminal, represented by ‘ς‘ and by ‘σ‘ in other case. This implementation is available at the current Nightly build and hope to be standard at the next Firefox Release. Special thanks to the Mozilla team, which taken care of that. 🙂