Switching CE to german language #48

Closed
mdudda opened this Issue Jan 20, 2012 · 1 comment

Comments

Projects
None yet
1 participant

mdudda commented Jan 20, 2012

Hello guys!

I have a problem switching community engine to german language.
In my application_config.rb I set this option using the de-DE.yml file in /config/locales from this repo.
:community_locale => "de-DE"

When I want to run up my start page i get this Exception caught page:
[BEGIN]
ArgumentError in Base#site_index

Showing /usr/local/lib/ruby/gems/1.9.1/bundler/gems/communityengine-8b58293213d7/app/views/base/site_index.html.haml where line #8 raised:

invalid byte sequence in UTF-8

Extracted source (around line #8):

5:
6: #yui-main
7: .yui-b
8: -box :class => "hfeed" do
9: %h3
10: =:recent_posts.l
11: = render :partial => 'posts/post', :collection => @posts
[END]

Can somebody help me with this?

@mdudda mdudda closed this Jan 27, 2012

mdudda commented Jan 27, 2012

I just copied the de-DE.yml from the ce gem into my locale dir and it worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment