It started from something strange.  I've copied farFU.cfc to my
project's packages/types and i've start getting a message:
Could not find the ColdFusion component or interface types.
while trying to explore types under Admin/Developer Utilities/Types.
Any ideas?


On Jul 24, 8:02 pm, Blair McKenzie <[email protected]> wrote:
> My approach would be to extend farFU in core to:
> - to add a property to hold the language of the FU
> - override getFU() and add support for returning the FU for the current
> user's language
> - override setSystemFU() and add support for generating a FU for each
> supported language (if the object supports it - I assume that not every
> content type has a title-for-each-language properties)
>
> If you are using the caching layer you will need to make sure the caches are
> hashed by the user language.
>
> I *believe* that the result of this would be:
> - translated FUs for an object would be generated automatically the same way
> as the single FU is generated now
> - application.fapi.getLink() and skin:buildLink would both provide the
> appropriate FU in webskins without further work by the developer
>
> It's an interesting problem. Let us know how it goes and if you have
> problems.
>
> Blair
>
> On Sat, Jul 24, 2010 at 9:48 PM, smika <[email protected]> wrote:
> > Client asks us to have several language content to be included in same
> > instance of content type. Say, we have article with English title,
> > Armenian title, and same about bodies. It helps them to input an
> > article content faster on the same screen.
> > To display correct version we are checking session language.
> > However, there seems to be a problem with friendly urls, and search
> > engines in general.
> > 1. We need to generate a friendly url for each article for every
> > language: /lang/date-article-title. We know how to customize look of
> > FU through displaySystemFU, so we can create several urls. Since there
> > is only one field to store FU for given custom type, what would be the
> > correct way to store them? May be add them to comma-separated string
> > and store them in that field?
> > 2. How to present a correct language dependent FU based on session
> > language to bot/user?
>
> > We are using FC6 and MSSQL 2000 on our hosting environment.
>
> > --
> > You received this message cos you are subscribed to "farcry-dev" Google
> > group.
> > To post, email: [email protected]
> > To unsubscribe, email: 
> > [email protected]<farcry-dev%[email protected]>
> > For more options:http://groups.google.com/group/farcry-dev
> > --------------------------------
> > Follow us on Twitter:http://twitter.com/farcry

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to