[TYPO3-core] RFC: add Albanian language to typo3

Michael Stucki michael at typo3.org
Wed Aug 29 15:44:51 CEST 2007


Well, that is your domain :-)

Can you please write a little document (or point me to one) where I can find 
information about internas of t3lib_cs?

- How can new languages be added?
- Where are the 2- / 3- character-abbrevations used?
- etc.

I would like to add this information to the ... (still thinking if it belongs 
to Core API or Core Team Guide).

- michael

Martin Kutschker wrote on Wednesday 29 August 2007:
> Dmitry Dulepov [typo3] schrieb:
> > Hi!
> >
> > This is SVN patch request.
> >
> > Branch: trunk
> >
> > Problem: there is a person who wants to translate TYPO3 to Albanian but
> > Albanian does not exist as TYPO3 language.
> >
> > Solution: add Albanian as TYPO3 language (sounds obvious...)
>
> My SUSE uses utf-8 and Windows uses windows-1250 for Albanian. Therfore the
> script entries in t3lib_cs should look like that:
>
> var $lang_to_script=array(
>    // iso-639:2 language codes
>   'sq' => 'albanian',
>    // MS language codes
>   'sqi' => 'albanian',
>    // English language names
>   'albanian' => 'albanian',
> }
>
> var $script_to_charset_unix=array(
>   'albanian' => 'utf-8',
> }
>
> var $script_to_charset_windows=array(
>   'albanian' => 'windows-1250',
> }
>
> Note that these settings are only used for locale charset conversions when
> you call a locale affected date/time function in TS (stdWrap).
>
> Masi
>
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070829/2cf850f5/attachment-0001.pgp 


More information about the TYPO3-team-core mailing list