Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong locale in backend translation #233

Closed
momolog opened this issue Nov 27, 2015 · 10 comments
Closed

Wrong locale in backend translation #233

momolog opened this issue Nov 27, 2015 · 10 comments

Comments

@momolog
Copy link
Contributor

momolog commented Nov 27, 2015

using camaleon_cms version:

  remote: git://github.com/owen2345/camaleon-cms.git
  revision: a6d499b81ac9729fb055d3782d50ef5c19f58900
  branch: moduler

I chose 'de' as first frontend language and 'en' as backend language.

admin panel settings languages

Now some strings in the backend are tried to be translated to german instead of english, e.g. in the login form:

span class translation_missing title translation missing de camaleon_cms admin login login_ login _span

or here:

admin panel settings languages-1

@owen2345
Copy link
Owner

thank you for the report, I will review right now!

@owen2345
Copy link
Owner

Hey @momolog
I tried to reproduce the error, but without success:
screen shot 2015-11-28 at 5 37 57 am
screen shot 2015-11-28 at 5 37 24 am

@momolog
Copy link
Contributor Author

momolog commented Nov 28, 2015

@owen2345 I can make the app repo + db available to you, if this helps.

@owen2345
Copy link
Owner

please do it!

@asn
Copy link

asn commented Jan 10, 2016

Anything new to this issue?

@owen2345
Copy link
Owner

Hi @asn
this problem should be already fixed in branch master.
Regards,

@asn
Copy link

asn commented Apr 28, 2016

Hi @owen2345,

when i choose German as a primary and only language for the frontend. I get a
undefined method `cama_category_en_url' Error.
The language of the backend is english. The problem still exists on the master branch.
Do you have any hints to fix this?
Greetings
Axel

#<#Class:0x007ffaac40f9a8:0x007ffaac6608d8>
Extracted source (around line #38):
36
37
38
39
40

end
options.delete(:format) if PluginRoutes.system_info["skip_format_url"].present?
send(url_to, *(args << options))

end
end

Rails.root: /Users/asn/workspace/baza.space/blog

Application Trace | Framework Trace | Full Trace
camaleon_cms (2.1.1.4) app/helpers/camaleon_cms/frontend/application_helper.rb:38:in cama_url_to_fixed' draper (1.4.0) lib/draper/helper_proxy.rb:29:inblock in define_proxy'
camaleon_cms (2.1.1.4) app/decorators/camaleon_cms/category_decorator.rb:21:in the_url' camaleon_cms (2.1.1.4) app/views/camaleon_cms/admin/categories/index.html.erb:44:in_item_html'
camaleon_cms (2.1.1.4) app/views/camaleon_cms/admin/categories/index.html.erb:51:in block in _render_categories' activerecord (4.2.5) lib/active_record/relation/delegation.rb:46:ineach'
activerecord (4.2.5) lib/active_record/relation/delegation.rb:46:in each' camaleon_cms (2.1.1.4) app/views/camaleon_cms/admin/categories/index.html.erb:50:in_render_categories'
camaleon_cms (2.1.1.4) app/views/camaleon_cms/admin/categories/index.html.erb:56:in ___sers_asn__rvm_gems_ruby_______bazablog_gems_camaleon_cms_________app_views_camaleon_cms_admin_categories_index_html_erb___1915754062651925566_70357305307120' actionview (4.2.5) lib/action_view/template.rb:145:inblock in render'
activesupport (4.2.5) lib/active_support/notifications.rb:166:in instrument' actionview (4.2.5) lib/action_view/template.rb:333:ininstrument'
actionview (4.2.5) lib/action_view/template.rb:143:in render' actionview (4.2.5) lib/action_view/renderer/template_renderer.rb:54:inblock (2 levels) in render_template'
actionview (4.2.5) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'

@asn
Copy link

asn commented Apr 28, 2016

The Problem still exists.

Master or stable branch are not fixing the problem.

bildschirmfoto 2016-04-28 um 12 45 47

Please reopen this issue

@owen2345 owen2345 reopened this Apr 28, 2016
@owen2345 owen2345 reopened this Apr 28, 2016
@owen2345
Copy link
Owner

@asn the problem with category url was fixed!
please try again!

@asn
Copy link

asn commented Apr 28, 2016

@owen2345 thx a lot - it seems to be running very well
Great!
Thx again.
Axel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants