6 * Turkish has two different i, one with a dot and another without a dot. They
7 * are totally different letters in this language, so we have to override the
8 * ucfirst and lcfirst methods.
9 * See http://en.wikipedia.org/wiki/Dotted_and_dotless_I
13 class LanguageTr
extends Language
{
16 * @param $string string
19 function ucfirst ( $string ) {
20 if ( strlen( $string ) && $string[0] == 'i' ) {
21 return 'İ' . substr( $string, 1 );
23 return parent
::ucfirst( $string );
28 * @param $string string
29 * @return mixed|string
31 function lcfirst ( $string ) {
32 if ( strlen( $string ) && $string[0] == 'I' ) {
33 return 'ı' . substr( $string, 1 );
35 return parent
::lcfirst( $string );