Locale is "DE-de" which is German but Time and Date is still being
displayed in the English format. Furtermore it doesn't make a difference
if I change the formats argument which is not how it's meant to be as
well.
There musst be really something screwed up but I have no idea what that
could be.... really frustrating.
By the way: It doesn't matter if I use Ruby 1.8.6 or 1.9.1.
In the posting above I'm using 1.8.6 and this is 1.9.1:
Loading development environment (Rails 2.3.5)
D:/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning:
Gem::Dependency#version_requirements is deprecated and will be removed
on or after August 2010. Use #requirement
I figured out that there's a problem with the .yml file. When I remove
my yml file everything works just fine but when I add my .yml file with
my customized language strings like:
de-DE:
time:
formats:
default: "%A, %e. %B %Y, %H:%M Uhr"
It returns an empty string. I just can't find anything wrong with that
default: ?
I figured out that there's a problem with the .yml file. When I remove
my yml file everything works just fine but when I add my .yml file with
my customized language strings like:
de-DE:
time:
formats:
default: "%A, %e. %B %Y, %H:%M Uhr"
It returns an empty string. I just can't find anything wrong with that
default: ?
Got it! I had an outdated yml file. %e isn't supported anymore and
therefore returns nothing. Just had to replace the %e with a %d.