Thank you very much for your response

On 26 août, 16:50, Bruno Bornsztein <[email protected]>
wrote:
> Hi Alex,
> All of the CE views already have their texts localized, meaning instead of
> writing something like:
>
> "Bruno's Posts"
>
> The templates use symbols, like:
>
> :users_posts_header.l (where .l is a method on Symbol that does the i18n
> lookup).
>
> So, if all you're doing is i18n, you should just be able to make edits to
> the appropriate .yml file (see README section on localization for more on
> this:http://github.com/bborn/communityengine/blob/master/README.markdown).
>
> If you're changing the structure of the markup, then you'll have to override
> the views. I've found that you can do a lot of customization by just
> creating a custom locale file and overriding CSS. You can take that pretty
> far before you need to start overriding tons of views.
>
> Thanks,
> Bruno
>
>
>
> On Wed, Aug 25, 2010 at 8:32 AM, Alex <[email protected]> wrote:
> > Hi there, let me ask you guys a general question about customizing a
> > CE site... I know with the desert gem, you can override everything,
> > including views... So, say I want my site to support both french and
> > english. I have to go through each view and replace the hardcoded
> > texts with a function that will get the text to render in the correct
> > language... So, I have to override almost each and every single view
> > in the project? I know that for a model or a controller, I can
> > override only the method I'm interested in, but for the view, correct
> > me if I'm wrong but I have to override everything in the view? Doing
> > so, I'm afraid that I will not be able to upgrade my site when new
> > releases of CE come out.
>
> > If you could point out the best strategies to customize a CE site ans
> > especially the views, it would be greatly appreciated.
>
> > Thanks
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "CommunityEngine" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<communityengine%2Bunsubscribe@ 
> > googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/communityengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en.

Reply via email to