You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Andreou (JIRA)" <de...@tapestry.apache.org> on 2007/06/06 00:10:27 UTC
[jira] Commented: (TAPESTRY-1532) Shouldn't have to create a
specification to use localized templates
[ https://issues.apache.org/jira/browse/TAPESTRY-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501714 ]
Andreas Andreou commented on TAPESTRY-1532:
-------------------------------------------
what's the problem with just providing Home.html and Home_pt.html ?
> Shouldn't have to create a specification to use localized templates
> -------------------------------------------------------------------
>
> Key: TAPESTRY-1532
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1532
> Project: Tapestry
> Issue Type: Improvement
> Components: Framework
> Affects Versions: 4.1.2
> Reporter: Hugo Palma
> Priority: Minor
>
> Use case:
> I want to provide an english and portuguese version of my Home page. I'm using annotation so i don't want/need a page spec. I have two options:
> - Create three templates, Home.html, Home_pt.html and Home_en.html.
> - Create an empty Home.page spec.
> None of these is the ideal solution. I should be able to just create the Home_pt.html and Home_en.html files.
> My guess is that PageSpecificationResolverImpl doesn't take localization into account when resolving to a page.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org