[TYPO3-english] Localize name of month & days in tt_news
Dodi Iriyanto
dodiiriyanto at gmail.com
Fri Aug 12 04:00:36 CEST 2011
Hi David,
Yes, it works now. I use typoscript below to setup French language
especially the date localization:
##LANGUAGE CONFIGURATION##
page.config.linkVars = L
page.config.sys_language_mode = content_fallback
page.config.sys_language_overlay = content_fallback; 1,0
#page.config.sys_language_fallBackOrder=1,0
page.config.sys_language_fallBackOrder= 0
#page.config.sys_language_overlay = hideNonTranslated
page.config.sys_language_uid = 0
page.config.language = en
page.config.locale_all = en_EN
# French language
[globalVar = GP:L = 5]
page.config.sys_language_uid = 5
page.config.language = fr
page.config.locale_all = french
# set french date & time formats
plugin.tt_news {
archiveTitleCObject {
10.strftime = %B - %Y
}
displayLatest {
date_stdWrap.strftime= %#d %B %Y
time_stdWrap.strftime= %H:%M
}
displayList {
date_stdWrap.strftime= %A %d. %B %Y
time_stdWrap.strftime= %d.%m.%y %H:%M
}
}
[global]
page.config.renderCharset = utf-8
# Japaneese language
[globalVar = GP:L = 12]
page.config.sys_language_uid = 12
page.config.language = jp
page.config.locale_all = jp_JP
[global]
# Indonesian language
[globalVar = GP:L = 4]
page.config.sys_language_uid = 4
page.config.language = in
page.config.locale_all = in_IN
[global]
I still found a unidentified font & i think the problem is related to
collation or charset.
Thank you.
Regards,
Dodi
On Thu, Aug 11, 2011 at 3:39 PM, David ARNOULT - Edition & Internet
Operations <d.arnoult at topsolid.com> wrote:
> Hi,
>
> Hi!
>
> It is all here :
> http://msdn.microsoft.com/en-us/library/39cwe7zf%28vs.71%29.aspx
>
> More info on php.net :
> http://php.net/manual/en/function.setlocale.php
>
> Rgds
>
> David
>
> -----Message d'origine-----
> De : typo3-english-bounces at lists.typo3.org [mailto:
> typo3-english-bounces at lists.typo3.org] De la part de Björn Pedersen
> Envoyé : jeudi 11 août 2011 10:25
> À : typo3-english at lists.typo3.org
> Objet : Re: [TYPO3-english] Localize name of month & days in tt_news
>
> Am 11.08.2011 10:16, schrieb Dodi Iriyanto:
> > Hi Jigal,
> >
> > Thank you for your input, i just noticed, currently my server is not
> support
> > with locale setting i have test php code below:
> >
>
> > I use IIS & PHP environment and i still trying how to install French
> locale.
> > Thank you for your notification about my TYPO3 version, i will update it
> as
> > soon as possible.
> >
> Hi,
>
> You have to find out, how the locales are named in your environment. The
> strings yuo used are those commonly used on unix systems, where you can
> take a look at /usr/share/locale to find the available names. It is
> likly that on MS envorinments they are defined with different names.
>
> Google probably is your friend here.
>
> Björn
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
>
> _______________________________________________
> 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