exponent-cms team mailing list archive
-
exponent-cms team
-
Mailing list archive
-
Message #00055
Re: About news module
Hi Sanna,
There's a few options under the display tab in the site config that should change the look of the date sitewide. Have a play with that.
As for language, there's some smarty placeholders that we're using until we get the guts of the language system worked out. soon, the links will look like: <a href="{link}" />{"Read More"|gettext}</a>
We currently have no translation in 2.0 yet.
Cheers,
--
Phillip
On Jan 10, 2011, at 4:34 AM, Sanna Edelman wrote:
> Hi,
>
> I was "translating" parts of News module and realised that "Read more" etc are hard-coded there.
> Have we lost the translation level somewhere? The separation of the code and interface texts.
>
> Anyhow, the view "showall" is insisting to give me date like this: Jan 9, 2011
> In the template there is
> <span class="date">{$item->publish_date|date_format}</span>
>
> I checked that the date_format should be referring to the configuration file what shows in the admin that the date model is 01.11.2010. That would be fine and wouldn't give for the end-user a "wrong" language like now.
> Config.php in the server has define("DISPLAY_DATE_FORMAT",'%d.%m.%Y');
>
> What should we have and where in our code that the user would see 09.01.2011 instead of this "Jan 9, 2011"?
>
> BR,
>
> Sanna
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~exponent-cms
> Post to : exponent-cms@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~exponent-cms
> More help : https://help.launchpad.net/ListHelp
Follow ups
References