I think Rails puts its lang files in config/locale by default.
CE will load it's own lang file AND the lang/ui file, merging the two.

On Mon, Feb 23, 2009 at 7:37 PM, jdutil <[email protected]> wrote:

>
> Doesn't explain why there is a second file in my config directory.  Is
> it because that's the one I have set to load?  Should I only have
> added my custom translations to my local file since it will also load
> CE's?  Hopefully checkng my lang file will turn up some spots I missed
> quotes on to fix my problem though.
>
> On Feb 23, 12:01 pm, Bruno Bornsztein <[email protected]>
> wrote:
> > Does this help explain it?
> http://github.com/bborn/communityengine/tree/abe8c7d89d101673a63faf6d...
> >
> > On Thu, Feb 19, 2009 at 7:07 PM, jdutil <[email protected]> wrote:
> >
> > > I am having the same issue with the months just trying to use en-US
> >
> > > Something I am not understanding is that I have a local lang/ui/en-
> > > US.yml overriding CE's
> > > Then there is also another en-US.yml file in config/locale/en-US.yml
> >
> > > If i delete one or the other my translations break
> >
> > > The file in config/locales does the en-US: as the first line, but the
> > > lang/ui/en-US file does not.  If I try to add that first line to it
> > > then my locales break...
> >
> > > Why does my app require both files?  Shouldn't I only need one of
> > > them?  Also if anyone can help me figure out what I need to do to get
> > > the months to display properly instead of the numbers i'd appreciate
> > > it.
> >
> > > On Feb 18, 2:00 am, tirili <[email protected]> wrote:
> > > > That's it. You really have to be careful which encoding your
> xx-XX.yml
> > > > file has.
> > > > Editing UTF-8 is not such easy!
> >
> > > > On 17 Feb., 20:13, Andrei Erdoss <[email protected]> wrote:
> >
> > > > > I'm not sure why this is happening to your setup. Make sure that
> you
> > > didn't
> > > > > forget a " or that there no funny characters where they are not
> > > supposed to
> > > > > be. Also make sure to put in lang/ui/xx-XX.yml
> >
> > > > > On Tue, Feb 17, 2009 at 7:54 PM, tirili <[email protected]> wrote:
> >
> > > > > > I did this, and my application.yml has community_locale: "de-DE".
> >
> > > > > > But without success. I have 1984 / 97 / 17 instead of 1984 / Feb
> /
> > > 17.
> >
> > > > > > Any other ideas ?
> >
> > > > > > Can you paste a working lang/xx.yml (if not german than another
> lang
> > > > > > just for seeing it to work (and tell please which
> community_locale to
> > > > > > set)).
> >
> > > > > > Thanks again!
> >
> > > > > > On 17 Feb., 17:44, Andrei Erdoss <[email protected]> wrote:
> > > > > > > Replace the top de: with de-DE: This should work. How do you
> call
> > > the
> > > > > > file
> > > > > > > in application.yml? community_locale: "de-DE"?
> >
> > > > > > > On Tue, Feb 17, 2009 at 6:38 PM, tirili <[email protected]> wrote:
> >
> > > > > > > > I sent my de-DE.yml to
> > > > > > > >http://groups.google.com/group/communityengine/files
> > > > > > > > I hope you can find out, where is my fault.
> >
> > > > > > > > I tried both versions:
> >
> > > > > > > > de-DE:
> > > > > > > >  (the locale infos go there)
> >
> > > > > > > > and the current file with
> >
> > > > > > > > de:
> > > > > > > >  (the locale infos go there)
> > > > > > > > de-DE:
> > > > > > > >  (the translations go there)
> >
> > > > > > > > But in any case I get no months :-(
> >
> > > > > > > > On 17 Feb., 15:15, Andrei Erdoss <[email protected]> wrote:
> > > > > > > > > Make sure there is only one de: at the top for the entire
> file,
> > > > > > following
> > > > > > > > > the rest of the content tabbed in. Post it to pastie if
> this
> > > doesn't
> > > > > > work
> > > > > > > > > and send the link.
> >
> > > > > > > > > On Tue, Feb 17, 2009 at 4:07 PM, tirili <[email protected]>
> wrote:
> >
> > > > > > > > > > Did not work :-( can you give me some more hint ?
> >
> > > > > > > > > > I copied the 115 lines of de.yml on top of the de-DE.yml.
> >
> > > > > > > > > > (Now the activerecord error messages are gone/localized,
> but
> > > not
> > > > > > the
> > > > > > > > > > 97 for february)
> >
> > > > > > > > > > Thanks for any help in advance.
> >
> > > > > > > > > > Thomas.
> >
> > > > > > > > > > On 17 Feb., 14:57, Andrei Erdoss <[email protected]>
> wrote:
> > > > > > > > > > > I had the same problem when translating to another
> > > language. To
> > > > > > fix
> > > > > > > > this,
> > > > > > > > > > I
> > > > > > > > > > > copied the date/number formatting from
> > > > > > > > > > > here<
> > > > > >http://github.com/svenfuchs/rails-i18n/tree/master/rails/locale
> > > > > > > > >and
> > > > > > > > > > > pasted it at the top of the language file.
> >
> > > > > > > > > > > Andrei
> >
> > > > > > > > > > > On Tue, Feb 17, 2009 at 11:02 AM, tirili <[email protected]
> >
> > > wrote:
> >
> > > > > > > > > > > > Hello list,
> >
> > > > > > > > > > > > how can this be solved ? When I try to choose the
> correct
> > > month
> > > > > > > > there
> > > > > > > > > > > > is not the month but a number to be chosen
> (114=january,
> > > > > > > > 97=february,
> > > > > > > > > > > > 110=march, and so on).
> >
> > > > > > > > > > > > The other thing is, how can the form modified to get
> > > useful for
> > > > > > > > german
> > > > > > > > > > > > users ? how can I get the "bundesland" working ?
> >
> > > > > > > > > > > > See:
> >
> > >http://groups.google.com/group/communityengine/web/month-not-correct-.
> > > > > > > > > > ..
> >
> > > > > > > > > > > > Thanks for your reply in advance.
> >
> > > > > > > > > > > > Thomas
> >
> > > > > > > > > > > --
> > > > > > > > > > > Andrei Erdoss
> >
> > > > > > > > > --
> > > > > > > > > Andrei Erdoss
> >
> > > > > > > --
> > > > > > > Andrei Erdoss
> >
> > > > > --
> > > > > Andrei Erdoss
> >
>

--~--~---------~--~----~------------~-------~--~----~
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