I'm trying to get to the source of the problem, but I have some
difficulty finding the relevant code section(s) to trace.
The translations under RAILS_ROOT/lang/ui/en-US.yml or RAILS_ROOT/
vendor/plugin/community_engine/lang/ui/en-US.yml are not picked up,
only when I put them in config/locales/en-US.yml, they show up.
It's a bit odd, as (almost) the same setup runs properly under Mongrel/
REE. I'm using CE master and rails 2.3.2 on an Ubuntu system.
The other notable differences between the Passenger and Mongrel setup
is that I have to run the former using a prefix due to limited access
to the system - I'm using ActionController::Base.relative_url_root to
set it, and that I needed to add
ENV['GEM_PATH'] = "<local-gemrepository>:#{ENV['GEM_PATH']}"
Gem.clear_paths
to pick up local gems as described in this post
http://blog.phusion.nl/2008/12/16/passing-environment-variables-to-ruby-from-phusion-passenger/.
Thanks to anybody who can point me in the right direction.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---