[TYPO3-english] New TYPO3 language
David Gurk
dgurk at medienwerft.de
Tue Apr 9 09:26:45 CEST 2013
Hi Daniel,
but this won't work for locallang.xm in fileadmin, innit?
See this: http://forge.typo3.org/issues/46688
Greets
David
-----Ursprüngliche Nachricht-----
Von: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] Im Auftrag von Daniel Alder
Gesendet: Dienstag, 9. April 2013 09:15
An: typo3-english at lists.typo3.org
Betreff: Re: [TYPO3-english] New TYPO3 language
Am 05.04.2013 17:32, schrieb Jan Bednarik:
> Hi,
>
> I need to add mongolian language to a TYPO3 website. Since there is no
> support for it, then when I set "mn" as config language, extensions
> (e.g. indexed search) will be in english. That is fine so far.
>
> However, I'd like to give administrators the ability to translate
> whatever they like using llxmltranslate extension. So I wonder whether
> it's possible to add this language to the list of languages so it'd be
> then picked by any extension when translated.
>
> Thanks
>
> Jan
hi
do you need the translation in backend or frontend (extensions /
contents) or both?.
for frontend only there is no need to do core changes.
Add a new website language in your tree root in backend.
and just make sure to add following in your ts setup:
config {
# your website language id: for example '2'
sys_language_uid = 2
# use the official language string here
# (not required but recommended)
language = mn
# check your server languages, just an example
locale_all = en_US.utf8
}
now you can add the xml files in l10n folders manually:
l10n/mn/my_extension/pi1/mn.locallang.xml
or use llxmltranslate or snowbabel to translate your files via "GUI".
for backend you have to modify the core as dmitry already mentioned.
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list