Re: [TYPO3-english] New TYPO3 language
Hi Philipp, it's TYPO3 CMS v4.6.18. Greets David -Ursprüngliche Nachricht- Von: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-boun...@lists.typo3.org] Im Auftrag von Philipp Gampe Gesendet: Mittwoch, 10. April 2013 22:00 An: typo3-english@lists.typo3.org Betreff: Re: [TYPO3-english] New TYPO3 language Hi David Gurk, David Gurk wrote: Ok, so I have found the missing important part. =) Properly the extTables.php script is evaluated too late. What was your TYPO3 CMS version again? Best regards -- Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln Documentation – linkvalidator TYPO3 inspiring people to share! ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
Hi David Gurk, David Gurk wrote: it's TYPO3 CMS v4.6.18. OK ... nothing changed there ... you should put those changes into an extension stead of adding it to the localconf.php Strange that it does not work in extTables. Best regards -- Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln Documentation – linkvalidator TYPO3 inspiring people to share! ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
Hi Daniel, I try the same sample setup within a blank TYPO3 v4.7.10. Unfortunately it wouldn't work. Maybe I miss some important part in this construct. I'm a bit clueless. =/ -Ursprüngliche Nachricht- Von: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-boun...@lists.typo3.org] Im Auftrag von Daniel Alder Gesendet: Dienstag, 9. April 2013 12:09 An: typo3-english@lists.typo3.org Betreff: Re: [TYPO3-english] New TYPO3 language Am 09.04.2013 09:26, schrieb David Gurk: Hi Daniel, but this won't work for locallang.xm in fileadmin, innit? See this: http://forge.typo3.org/issues/46688 Ok, I checked your case in the example above with typo3 4.7.10. Everything works as expected. Whether you use the original locallang.xml or the l10n file. The labels will be shown. You shouldn't use ch for Swiss-German. Use de_ch instead. As you already mentioned this is already reserved by Chinese. Tested with: config.language = de_ch config.language = id Is your locallang.xml located in the extension directory or in the l10n dir? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
Hi Daniel, I try the same sample setup within a blank TYPO3 v4.7.10. Unfortunately it wouldn't work. Maybe I miss some important part in this construct. I'm a bit clueless. =/ -Ursprüngliche Nachricht- Von: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-boun...@lists.typo3.org] Im Auftrag von Daniel Alder Gesendet: Dienstag, 9. April 2013 12:09 An: typo3-english@lists.typo3.org Betreff: Re: [TYPO3-english] New TYPO3 language Am 09.04.2013 09:26, schrieb David Gurk: Hi Daniel, but this won't work for locallang.xm in fileadmin, innit? See this: http://forge.typo3.org/issues/46688 Ok, I checked your case in the example above with typo3 4.7.10. Everything works as expected. Whether you use the original locallang.xml or the l10n file. The labels will be shown. You shouldn't use ch for Swiss-German. Use de_ch instead. As you already mentioned this is already reserved by Chinese. Tested with: config.language = de_ch config.language = id Is your locallang.xml located in the extension directory or in the l10n dir? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
Okay, it's a bit odd. I moved the code for $GLOBALS['TYPO3_CONF_VARS']['SYS']['localization']['locales']['user'] ... from typo3conf/extTables.php to typo3conf/localconf.php. *tadaaa* It works. -_-° The really odd thing is, that I have the following line in my localconf.php: $typo_db_extTableDef_script = 'extTables.php'; Ok, so I have found the missing important part. =) -Ursprüngliche Nachricht- Von: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-boun...@lists.typo3.org] Im Auftrag von David Gurk Gesendet: Mittwoch, 10. April 2013 09:40 An: TYPO3 English Cc: Daniel Alder Betreff: Re: [TYPO3-english] New TYPO3 language Hi Daniel, I try the same sample setup within a blank TYPO3 v4.7.10. Unfortunately it wouldn't work. Maybe I miss some important part in this construct. I'm a bit clueless. =/ -Ursprüngliche Nachricht- Von: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-boun...@lists.typo3.org] Im Auftrag von Daniel Alder Gesendet: Dienstag, 9. April 2013 12:09 An: typo3-english@lists.typo3.org Betreff: Re: [TYPO3-english] New TYPO3 language Am 09.04.2013 09:26, schrieb David Gurk: Hi Daniel, but this won't work for locallang.xm in fileadmin, innit? See this: http://forge.typo3.org/issues/46688 Ok, I checked your case in the example above with typo3 4.7.10. Everything works as expected. Whether you use the original locallang.xml or the l10n file. The labels will be shown. You shouldn't use ch for Swiss-German. Use de_ch instead. As you already mentioned this is already reserved by Chinese. Tested with: config.language = de_ch config.language = id Is your locallang.xml located in the extension directory or in the l10n dir? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
Hi David Gurk, David Gurk wrote: Ok, so I have found the missing important part. =) Properly the extTables.php script is evaluated too late. What was your TYPO3 CMS version again? Best regards -- Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln Documentation – linkvalidator TYPO3 inspiring people to share! ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
Hi Jan, it's possible, that I have the same problem as you: http://forge.typo3.org/issues/46748 http://forge.typo3.org/issues/46688 But editing the core should be the last option. Regards David -Ursprüngliche Nachricht- Von: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-boun...@lists.typo3.org] Im Auftrag von Jan Bednarik Gesendet: Dienstag, 9. April 2013 07:43 An: typo3-english@lists.typo3.org Betreff: Re: [TYPO3-english] New TYPO3 language Thanks, I'll give it a shot. JAn Dne 8.4.2013 17:12, Dmitry Dulepov napsal(a): Hi! Jan Bednarik wrote: 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. Yes, it is possible. You need to modify three places: - t3lib/config_default.php - there is a constants with codes named TYPO3_languages - typo3/sysext/setup/mod/locallang.xml - there is a list of languages in typo3/sysext/setup/mod/locallang.xml - t3lib/stddb/tbl_be.php: $TCA for be_users table ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
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@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
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-boun...@lists.typo3.org [mailto:typo3-english-boun...@lists.typo3.org] Im Auftrag von Daniel Alder Gesendet: Dienstag, 9. April 2013 09:15 An: typo3-english@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@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
Am 09.04.2013 09:26, schrieb David Gurk: but this won't work for locallang.xm in fileadmin, innit? See this: http://forge.typo3.org/issues/46688 ...oh, there was a change in the core. :( I see, i am going to check the new case. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
If you found a solution it would be nice if you notice me. Thanks. ;) -Ursprüngliche Nachricht- Von: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-boun...@lists.typo3.org] Im Auftrag von Daniel Alder Gesendet: Dienstag, 9. April 2013 11:18 An: typo3-english@lists.typo3.org Betreff: Re: [TYPO3-english] New TYPO3 language Am 09.04.2013 09:26, schrieb David Gurk: but this won't work for locallang.xm in fileadmin, innit? See this: http://forge.typo3.org/issues/46688 ...oh, there was a change in the core. :( I see, i am going to check the new case. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
Am 09.04.2013 09:26, schrieb David Gurk: Hi Daniel, but this won't work for locallang.xm in fileadmin, innit? See this: http://forge.typo3.org/issues/46688 Ok, I checked your case in the example above with typo3 4.7.10. Everything works as expected. Whether you use the original locallang.xml or the l10n file. The labels will be shown. You shouldn't use ch for Swiss-German. Use de_ch instead. As you already mentioned this is already reserved by Chinese. Tested with: config.language = de_ch config.language = id Is your locallang.xml located in the extension directory or in the l10n dir? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
Am 09.04.2013 12:08, schrieb Daniel Alder: Am 09.04.2013 09:26, schrieb David Gurk: You shouldn't use ch for Swiss-German. Use de_ch instead. As you already mentioned this is already reserved by Chinese. Beside language.config is just regular string. typo3 don't check if it's a correct language. it just checks if this key is available in xml (in the main- or l10n file). So you can use everything you want as language. But this is only related to the frontend, especially the pibase. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
Thanks for your helpfulness. Do you see my example: http://forge.typo3.org/issues/46688#note-6 In my opinion this is exactly what you recommended. Can you test this with TYPO3 v4.6.18 too? I try a clean setup too. -Ursprüngliche Nachricht- Von: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-boun...@lists.typo3.org] Im Auftrag von Daniel Alder Gesendet: Dienstag, 9. April 2013 12:09 An: typo3-english@lists.typo3.org Betreff: Re: [TYPO3-english] New TYPO3 language Am 09.04.2013 09:26, schrieb David Gurk: Hi Daniel, but this won't work for locallang.xm in fileadmin, innit? See this: http://forge.typo3.org/issues/46688 Ok, I checked your case in the example above with typo3 4.7.10. Everything works as expected. Whether you use the original locallang.xml or the l10n file. The labels will be shown. You shouldn't use ch for Swiss-German. Use de_ch instead. As you already mentioned this is already reserved by Chinese. Tested with: config.language = de_ch config.language = id Is your locallang.xml located in the extension directory or in the l10n dir? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
Hey Daniel, I uploaded an t3d-file for an blank TYPO3 v4.6.18: http://www.file-upload.net/download-7446538/t3d-bug-tracing.zip.html The t3d includes simplified TypoScript-Templates von configurations. I also added the locallang.xml example. The following would be displayed: # For: /index.php?L=0 HELLO WORLD! TEST:German # For: /index.php?L=1 HELLO WORLD! TEST:German # For: /index.php?L=3 HELLO WORLD! TEST:Polish So it wouldn't work. -Ursprüngliche Nachricht- Von: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-boun...@lists.typo3.org] Im Auftrag von David Gurk Gesendet: Dienstag, 9. April 2013 12:53 An: TYPO3 English Betreff: Re: [TYPO3-english] New TYPO3 language Thanks for your helpfulness. Do you see my example: http://forge.typo3.org/issues/46688#note-6 In my opinion this is exactly what you recommended. Can you test this with TYPO3 v4.6.18 too? I try a clean setup too. -Ursprüngliche Nachricht- Von: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-boun...@lists.typo3.org] Im Auftrag von Daniel Alder Gesendet: Dienstag, 9. April 2013 12:09 An: typo3-english@lists.typo3.org Betreff: Re: [TYPO3-english] New TYPO3 language Am 09.04.2013 09:26, schrieb David Gurk: Hi Daniel, but this won't work for locallang.xm in fileadmin, innit? See this: http://forge.typo3.org/issues/46688 Ok, I checked your case in the example above with typo3 4.7.10. Everything works as expected. Whether you use the original locallang.xml or the l10n file. The labels will be shown. You shouldn't use ch for Swiss-German. Use de_ch instead. As you already mentioned this is already reserved by Chinese. Tested with: config.language = de_ch config.language = id Is your locallang.xml located in the extension directory or in the l10n dir? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
Is it possible that you send me your testing system (t3d + locallang.xml), please? Thanks -Ursprüngliche Nachricht- Von: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-boun...@lists.typo3.org] Im Auftrag von Daniel Alder Gesendet: Dienstag, 9. April 2013 12:09 An: typo3-english@lists.typo3.org Betreff: Re: [TYPO3-english] New TYPO3 language Am 09.04.2013 09:26, schrieb David Gurk: Hi Daniel, but this won't work for locallang.xm in fileadmin, innit? See this: http://forge.typo3.org/issues/46688 Ok, I checked your case in the example above with typo3 4.7.10. Everything works as expected. Whether you use the original locallang.xml or the l10n file. The labels will be shown. You shouldn't use ch for Swiss-German. Use de_ch instead. As you already mentioned this is already reserved by Chinese. Tested with: config.language = de_ch config.language = id Is your locallang.xml located in the extension directory or in the l10n dir? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
Hi! Jan Bednarik wrote: 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. Yes, it is possible. You need to modify three places: - t3lib/config_default.php - there is a constants with codes named TYPO3_languages - typo3/sysext/setup/mod/locallang.xml - there is a list of languages in typo3/sysext/setup/mod/locallang.xml - t3lib/stddb/tbl_be.php: $TCA for be_users table -- Dmitry Dulepov TYPO3 CMS core security teams member ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
Thanks, I'll give it a shot. JAn Dne 8.4.2013 17:12, Dmitry Dulepov napsal(a): Hi! Jan Bednarik wrote: 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. Yes, it is possible. You need to modify three places: - t3lib/config_default.php - there is a constants with codes named TYPO3_languages - typo3/sysext/setup/mod/locallang.xml - there is a list of languages in typo3/sysext/setup/mod/locallang.xml - t3lib/stddb/tbl_be.php: $TCA for be_users table ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] New TYPO3 language
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 ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
Hi Jan, llxmltranslate can only translate extension still using the XML format. Kind regards Markus -Original Message- From: typo3-english-boun...@lists.typo3.org [mailto:typo3-english- boun...@lists.typo3.org] On Behalf Of Jan Bednarik Sent: Friday, April 05, 2013 5:33 PM To: typo3-english@lists.typo3.org Subject: [TYPO3-english] New TYPO3 language 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 ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] New TYPO3 language
So? Is that a problem? Extensions like tt_news, indexed_search etc. have languages in XML. Besides, this website runs on 4.5. I want llxmltranslate to create directory typo3conf/l10n/mn and put translatations there. Jan Dne 5.4.2013 17:44, Markus Klein napsal(a): Hi Jan, llxmltranslate can only translate extension still using the XML format. Kind regards Markus -Original Message- From: typo3-english-boun...@lists.typo3.org [mailto:typo3-english- boun...@lists.typo3.org] On Behalf Of Jan Bednarik Sent: Friday, April 05, 2013 5:33 PM To: typo3-english@lists.typo3.org Subject: [TYPO3-english] New TYPO3 language 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 ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english