Giter Site home page Giter Site logo

badrit / translation_center Goto Github PK

View Code? Open in Web Editor NEW
152.0 152.0 71.0 2.03 MB

Translation Center is a multi-lingual, GUI rich, community based, translation center for Rails apps

Home Page: http://www.badrit.com/gems/translation_center/

License: MIT License

Ruby 73.19% JavaScript 8.13% HTML 15.59% CSS 3.09%

translation_center's People

Contributors

bryant1410 avatar helsayed avatar islamazab avatar kabdelhady avatar mahkhaled avatar mohamagdy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

translation_center's Issues

Specify versions for dependencies

Make sure that Translation Center works with the latest rails 3.2.xx or specify versions for gem dependencies to avoid installation problems.

Synch rake problem

kryna@kryna-ubuntu:~/Projekty/sa8000$ rake translation_center:synch
3 locales available: en, ar, de
1520 unique keys found.
An error has ocurred while performing this rake, would you like to send the exception to us so we may fix this problem ? press [Y/n]
y
Sending ...
We have received your feedback. Thanks!
allocator undefined for Proc
/home/kryna/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/psych/visitors/to_ruby.rb:303:in `allocate'
/home/kryna/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/psych/visitors/to_ruby.rb:303:in `revive'
/home/kryna/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/psych/visitors/to_ruby.rb:178:in `visit_Psych_Nodes_Mapping'
/home/kryna/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/psych/visitors/visitor.rb:15:in `visit'
/home/kryna/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/psych/visitors/visitor.rb:5:in `accept'
/home/kryna/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/psych/visitors/to_ruby.rb:20:in `accept'
/home/kryna/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/psych/visitors/to_ruby.rb:240:in `visit_Psych_Nodes_Document'
/home/kryna/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/psych/visitors/visitor.rb:15:in `visit'
/home/kryna/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/psych/visitors/visitor.rb:5:in `accept'
/home/kryna/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/psych/visitors/to_ruby.rb:20:in `accept'
/home/kryna/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/psych/nodes/node.rb:35:in `to_ruby'
/home/kryna/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/psych.rb:130:in `load'

Number to currency exception

number_to_currency("10.5", unit: "", :locale => :en, precision: 0)
It throw exception when inspector is "all" can't convert symbol to integer

It works properly when inspector is "missing"

License missing from gemspec

Some companies will only use gems with a certain license.
The canonical and easy way to check is via the gemspec
via e.g.

spec.license = 'MIT'
# or
spec.licenses = ['MIT', 'GPL-2']

There is even a License Finder to help companies ensure all gems they use
meet their licensing needs. This tool depends on license information being available in the gemspec.
Including a license in your gemspec is a good practice, in any case.

How did I find you?

I'm using a script to collect stats on gems, originally looking for download data, but decided to collect licenses too,
and make issues for missing ones as a public service :)
https://gist.github.com/bf4/5952053#file-license_issue-rb-L13 So far it's going pretty well

Exception when trying to show a category

/translation_center/categories/13
wrong number of arguments (2 for 1)
----------------------
/home/alain/.rvm/gems/ruby-2.0.0-p195@wedding/gems/rails-i18n-0.7.3/lib/rails_i18n/common_pluralizations/one_other.rb:7:in `block in rule'

Translation Center Exception (version 1.5.7)

Some reserved yaml words export failure

It seems that when exporting translations with words like "yes" or "true" the result will be empty string. Of course it is not a good idea to use reserved words in translations but there are gems which use some of these words.

PG::Error: ERROR: relation "auditables" does not exist

Can't install translation_center...

Steps:

$ rails generate translation_center:install en pt
$ rake db:migrate

==  InstallAudited: migrating =================================================
-- create_table(:audits, {:force=>true})
NOTICE:  table "audits" does not exist, skipping
NOTICE:  CREATE TABLE will create implicit sequence "audits_id_seq" for serial column "audits.id"
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "audits_pkey" for table "audits"
rake aborted!
An error has occurred, this and all later migrations canceled:

PG::Error: ERROR:  relation "auditables" does not exist
: CREATE TABLE "audits" ("id" serial primary key, "auditable_id" integer, "auditable_type" character varying(255), "associated_id" integer, "associated_type" character varying(255), "user_id" integer, "user_type" character varying(255), "username" character varying(255), "action" character varying(255), "audited_changes" text, "version" integer DEFAULT 0, "comment" character varying(255), "remote_address" character varying(255), "created_at" timestamp, CONSTRAINT fk_audits_auditable_id FOREIGN KEY ("auditable_id") REFERENCES "auditables" ("id"), CONSTRAINT fk_audits_associated_id FOREIGN KEY ("associated_id") REFERENCES "associateds" ("id"), CONSTRAINT fk_audits_user_id FOREIGN KEY ("user_id") REFERENCES "users" ("id")) /home/ronaldocpontes/.rvm/gems/ruby-1.9.3-p448/gems/rack-mini-profiler-0.1.26/Ruby/lib/patches/sql_patches.rb:155:in `exec'

Javascripts not found

Hello,

I am using translation_center for one of my projects: it worked fine on my development system on 3 different installations. On one, it does not work completely.

I can access the dashboard and do almost everything, but I can't change tabs
for instance, because the system can't found things like /tccategories/1.js

Any ideas on what I can look to find what is wrong?

Thank you

undefined method `votes' for #<TranslationCenter::Translation:0x00000005684d68>

getting error:
undefined method `votes' for #TranslationCenter::Translation:0x00000005684d68

when I attempt to open any section which is not 100% translated in the /translation_centre (/tc) main page.

Translation Center Exception (version 1.7.0)

I have tried making a new rails app from scratch because I was getting this error on my existing app. But the error still occurs even with a basic app. Am I missing something simple here?
Rails 3.2.19
Ruby 2.1.1

The votes table does exist, I can access it in my rails console with 'ActsAsVotable::Vote'

Full backtrace below:

/tc/categories/5          
                undefined method `votes' for #<TranslationCenter::Translation:0x00000005684d68>          
                ----------------------          
~/.rvm/gems/ruby-2.1.1/gems/activemodel-3.2.19/lib/active_model/attribute_methods.rb:407:in `method_missing'
                ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/attribute_methods.rb:149:in `method_missing'
                ~/.rvm/gems/ruby-2.1.1/gems/translation_center-1.7.0/app/views/translation_center/translations/_show.html.haml:25:in `__home_ryan__rvm_gems_ruby_______gems_translation_center_______app_views_translation_center_translations__show_html_haml___542940517055249598_45354020'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/template.rb:145:in `block in render'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:125:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/template.rb:143:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in `block in instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/partial_renderer.rb:237:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/renderer.rb:41:in `render_partial'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/helpers/rendering_helper.rb:27:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/haml-4.0.5/lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
                ~/.rvm/gems/ruby-2.1.1/gems/haml-4.0.5/lib/haml/helpers.rb:89:in `non_haml'
                ~/.rvm/gems/ruby-2.1.1/gems/haml-4.0.5/lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
                ~/.rvm/gems/ruby-2.1.1/gems/translation_center-1.7.0/app/views/translation_center/translations/_index.html.haml:8:in `block in __home_ryan__rvm_gems_ruby_______gems_translation_center_______app_views_translation_center_translations__index_html_haml___311659776519216178_46279240'
                ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/relation/delegation.rb:6:in `each'
                ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/relation/delegation.rb:6:in `each'
                ~/.rvm/gems/ruby-2.1.1/gems/translation_center-1.7.0/app/views/translation_center/translations/_index.html.haml:7:in `__home_ryan__rvm_gems_ruby_______gems_translation_center_______app_views_translation_center_translations__index_html_haml___311659776519216178_46279240'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/template.rb:145:in `block in render'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:125:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/template.rb:143:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in `block in instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/partial_renderer.rb:237:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/renderer.rb:41:in `render_partial'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/helpers/rendering_helper.rb:27:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/haml-4.0.5/lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
                ~/.rvm/gems/ruby-2.1.1/gems/haml-4.0.5/lib/haml/helpers.rb:89:in `non_haml'
                ~/.rvm/gems/ruby-2.1.1/gems/haml-4.0.5/lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
                ~/.rvm/gems/ruby-2.1.1/gems/translation_center-1.7.0/app/views/translation_center/translation_keys/_show.html.haml:19:in `__home_ryan__rvm_gems_ruby_______gems_translation_center_______app_views_translation_center_translation_keys__show_html_haml__282686059064895814_47209620'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/template.rb:145:in `block in render'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:125:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/template.rb:143:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in `block in instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/partial_renderer.rb:237:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/renderer.rb:41:in `render_partial'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/helpers/rendering_helper.rb:27:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/haml-4.0.5/lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
                ~/.rvm/gems/ruby-2.1.1/gems/haml-4.0.5/lib/haml/helpers.rb:89:in `non_haml'
                ~/.rvm/gems/ruby-2.1.1/gems/haml-4.0.5/lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
                ~/.rvm/gems/ruby-2.1.1/gems/translation_center-1.7.0/app/views/translation_center/translation_keys/_translation_keys.html.haml:14:in `block in __home_ryan__rvm_gems_ruby_______gems_translation_center_______app_views_translation_center_translation_keys__translation_keys_html_haml__1720805280100527824_46601540'
                ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/relation/delegation.rb:39:in `each'
                ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/relation/delegation.rb:39:in `each_with_index'
                ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/relation/delegation.rb:39:in `each_with_index'
                ~/.rvm/gems/ruby-2.1.1/gems/translation_center-1.7.0/app/views/translation_center/translation_keys/_translation_keys.html.haml:13:in `__home_ryan__rvm_gems_ruby_______gems_translation_center_______app_views_translation_center_translation_keys__translation_keys_html_haml__1720805280100527824_46601540'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/template.rb:145:in `block in render'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:125:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/template.rb:143:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in `block in instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/partial_renderer.rb:237:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/renderer.rb:41:in `render_partial'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/helpers/rendering_helper.rb:27:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/haml-4.0.5/lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
                ~/.rvm/gems/ruby-2.1.1/gems/haml-4.0.5/lib/haml/helpers.rb:89:in `non_haml'
                ~/.rvm/gems/ruby-2.1.1/gems/haml-4.0.5/lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
                ~/.rvm/gems/ruby-2.1.1/gems/translation_center-1.7.0/app/views/translation_center/categories/show.html.haml:31:in `__home_ryan__rvm_gems_ruby_______gems_translation_center_______app_views_translation_center_categories_show_html_haml__1065310119709010418_47969420'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/template.rb:145:in `block in render'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:125:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/template.rb:143:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in `block in instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/template_renderer.rb:18:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/renderer.rb:36:in `render_template'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_view/renderer/renderer.rb:17:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/abstract_controller/rendering.rb:110:in `_render_template'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/streaming.rb:225:in `_render_template'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/abstract_controller/rendering.rb:103:in `render_to_body'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/abstract_controller/rendering.rb:88:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/rendering.rb:16:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
                ~/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/core_ext/benchmark.rb:5:in `ms'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
                ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/instrumentation.rb:39:in `render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
                ~/.rvm/gems/ruby-2.1.1/gems/translation_center-1.7.0/app/controllers/translation_center/categories_controller.rb:29:in `show'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/abstract_controller/base.rb:167:in `process_action'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/rendering.rb:10:in `process_action'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:437:in `block in _run__1483483064468564191__process_action__806065244962958690__callbacks'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_198'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:326:in `around'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:310:in `_callback_around_21'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_198'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:403:in `_run__1483483064468564191__process_action__806065244962958690__callbacks'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:405:in `__run_callback'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:81:in `run_callbacks'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/abstract_controller/callbacks.rb:17:in `process_action'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/rescue.rb:29:in `process_action'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in `block in instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in `instrument'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
                ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/abstract_controller/base.rb:121:in `process'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/abstract_controller/rendering.rb:45:in `process'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal.rb:203:in `dispatch'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal.rb:246:in `block in action'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/routing/route_set.rb:73:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/routing/route_set.rb:36:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
                ~/.rvm/gems/ruby-2.1.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
                ~/.rvm/gems/ruby-2.1.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/routing/route_set.rb:608:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/railties-3.2.19/lib/rails/engine.rb:484:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/railties-3.2.19/lib/rails/railtie/configurable.rb:30:in `method_missing'
                ~/.rvm/gems/ruby-2.1.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
                ~/.rvm/gems/ruby-2.1.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
                ~/.rvm/gems/ruby-2.1.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/routing/route_set.rb:608:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
                ~/.rvm/gems/ruby-2.1.1/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
                ~/.rvm/gems/ruby-2.1.1/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/head.rb:14:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/flash.rb:242:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
                ~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/cookies.rb:341:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/query_cache.rb:64:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:405:in `_run__3852360575160055126__call__3143175428527453288__callbacks'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:405:in `__run_callback'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:81:in `run_callbacks'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/reloader.rb:65:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/railties-3.2.19/lib/rails/rack/logger.rb:32:in `call_app'
                ~/.rvm/gems/ruby-2.1.1/gems/railties-3.2.19/lib/rails/rack/logger.rb:16:in `block in call'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/tagged_logging.rb:22:in `tagged'
                ~/.rvm/gems/ruby-2.1.1/gems/railties-3.2.19/lib/rails/rack/logger.rb:16:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/request_id.rb:22:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/static.rb:63:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/railties-3.2.19/lib/rails/engine.rb:484:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/railties-3.2.19/lib/rails/application.rb:231:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/railties-3.2.19/lib/rails/rack/log_tailer.rb:17:in `call'
                ~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/handler/webrick.rb:59:in `service'
                ~/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
                ~/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
                ~/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'

Exception when trying to change a category

Here is the message :

AbstractController::ActionNotFound - The action 'update' could not be found for TranslationCenter::CategoriesController:

Translation Center Exception (version 1.5.7)

Category updating still not developed?

Rails 4 support

Hi,
anyone interested in implementing rails 4 support?

There's the metasearch dependency (#12) but I took a brief look at the code and the system doesn't support strong_parameters yet.

I'd be willing to do it if someone else helps me and my free time allows me to do it.

Dashboard error when using a different identifier type

When the translator identifier type is changed in translation_center.yml from 'email' to something else then an error occurs with the search form in the dashboard.
It has to be updated according to identifier_type and translator_type.

meta_search conflicts with its successor ransack

When using ransack gem in application it is impossible to use translation_center due to conflicts. Seems the right solution is to update the application to ransack or any other fresh search gem.

Add locale from web

Add button in dashboard that adds a lang to the system.
Just call rails g translation_center:add_lang ar by invoking generator from controller.

Specify (or exclude) translation files for using as source

Oftern it is usable to include separate yml files for one language depending on section. And sometimes some sections should not be added to translation interface because they are already translated by rails core or gems (for example simple_forms contains translations available to download as separate yml files).

couldn't find file 'jquery.ui.all'

(in ~/.rvm/gems/ruby-2.1.1/gems/translation_center-1.7.0/app/assets/stylesheets/translation_center/application.css:12)
I get this error when I attempt to visit the translation_center on my app with url ..../tc
my jquery related gemfiles:
$ bundle show | grep jquery

  • jquery-datatables-rails (1.12.2)
  • jquery-rails (3.1.1)
  • jquery-ui-rails (5.0.0)

I also tried changing my jquery-rails gem to the 2.3.0 version but got the same error

  • jquery-rails (2.3.0)

few questions about this application

Really thats a great application and i have three questions, if i want to translate my application into Arabic :
1- The installation and usage just as you do the screen cast ? or there is other things must do ?
2- Should i use it after finishing my application or it can be used normally even if the application is not finished ?
3- When I translate from English to Arabic , I read at the documentations that it supports right-to-left and left-to-right translations but does it also make something like mirror effect in Arabic to make the GUI suitable for Arabic, like when you choose Arabic on facebook , the whole layout became suitable for Arabic ? sorry i am still newbie :))

troubles translating symbols esp in i18n gem

Hi, hoping you can help - it seems there is something different about my setup which causes a lot of errors in the translation_center gem.

Wherever I use 't' or'i18n.t' in my code, if the parameter is a symbol, like i18n.t(:some_symbol) a get a PG column missing error.(Formtastic is having similar difficulties looking up labels by symbol now I've installed translation_center)

At first I thought I could simply go through my code and make sure I pass strings only to i18n, but then I get the error within i18n gem itself as it tries to pass symbols
e.g
within
~/.rvm/gems/ruby-2.1.1/gems/i18n-0.6.11/lib/i18n/backend/base.rb @ line 64


I18n::Backend::Base#localize:

    52: def localize(locale, object, format = :default, options = {})
    ..
    ..
    65:     when '%a' then I18n.t(:"date.abbr_day_names", :locale => locale, :format => format)[object.wday]

at this point in my pry debugger - when I run this line I get an error:

I18n.t(:"date.abbr_day_names", :locale => locale, :format => format)[object.wday] 

ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR:  column translation_center_translation_keys.date.abbr_day_names does not exist
LINE 1: ...RE "translation_center_translation_keys"."name" = "translati...

but if I remove the ':', which makes it a symbol, it works:

I18n.t("date.abbr_day_names", :locale => locale, :format => format)[object.wday]
=> "Fri"

Looking at the trace, which I've pasted below, the line
~/.rvm/gems/ruby-2.1.1/gems/translation_center-1.7.0/lib/translation_center/translation_helpers.rb:62:in `translate_with_adding'
reads:
translation_key = TranslationCenter::TranslationKey.find_or_create_by_name(complete_key)

when complete_key is a Symbol I get this error / if it is a String it is no problem.
The full trace

~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/connection_adapters/postgresql_adapter.rb:1163:in async_exec' ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/connection_adapters/postgresql_adapter.rb:1163:inexec_no_cache'
~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/connection_adapters/postgresql_adapter.rb:660:in block in exec_query' ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/connection_adapters/abstract_adapter.rb:280:inblock in log'
~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications/instrumenter.rb:20:in instrument' ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/connection_adapters/abstract_adapter.rb:275:inlog'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/active_record.rb:48:in block in log_with_newrelic_instrumentation' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/method_tracer.rb:219:intrace_execution_scoped'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/active_record.rb:45:in log_with_newrelic_instrumentation' ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/connection_adapters/postgresql_adapter.rb:659:inexec_query'
~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/connection_adapters/postgresql_adapter.rb:1262:in select' ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/connection_adapters/abstract/database_statements.rb:18:inselect_all'
~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/connection_adapters/abstract/query_cache.rb:61:in block in select_all' ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/connection_adapters/abstract/query_cache.rb:75:incache_sql'
~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/connection_adapters/abstract/query_cache.rb:61:in select_all' ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/querying.rb:38:inblock in find_by_sql'
~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/explain.rb:41:in logging_query_plan' ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/querying.rb:37:infind_by_sql'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/method_tracer.rb:455:in block in find_by_sql_with_trace_ActiveRecord_self_name_find_by_sql' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/method_tracer.rb:219:intrace_execution_scoped'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/method_tracer.rb:453:in find_by_sql_with_trace_ActiveRecord_self_name_find_by_sql' ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/relation.rb:171:inexec_queries'
~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/relation.rb:160:in block in to_a' ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/explain.rb:34:inlogging_query_plan'
~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/relation.rb:159:in to_a' ~/.rvm/gems/ruby-2.1.1/gems/bullet-4.11.3/lib/bullet/active_record3x.rb:10:into_a'
~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/relation/finder_methods.rb:381:in find_first' ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/relation/finder_methods.rb:122:infirst'
~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/relation/finder_methods.rb:290:in find_or_instantiator_by_attributes' ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/dynamic_matchers.rb:52:inmethod_missing'
~/.rvm/gems/ruby-2.1.1/gems/symmetric-encryption-3.6.0/lib/symmetric_encryption/extensions/active_record/base.rb:138:in method_missing_with_attr_encrypted' ~/.rvm/gems/ruby-2.1.1/gems/translation_center-1.7.0/lib/translation_center/translation_helpers.rb:62:intranslate_with_adding'
~/.rvm/gems/ruby-2.1.1/gems/i18n-0.6.11/lib/i18n.rb:157:in block in translate' ~/.rvm/gems/ruby-2.1.1/gems/i18n-0.6.11/lib/i18n.rb:153:incatch'
~/.rvm/gems/ruby-2.1.1/gems/i18n-0.6.11/lib/i18n.rb:153:in translate' ~/.rvm/gems/ruby-2.1.1/gems/i18n-0.6.11/lib/i18n/backend/base.rb:65:inblock in localize'
~/.rvm/gems/ruby-2.1.1/gems/i18n-0.6.11/lib/i18n/backend/base.rb:63:in gsub' ~/.rvm/gems/ruby-2.1.1/gems/i18n-0.6.11/lib/i18n/backend/base.rb:63:inlocalize'
~/.rvm/gems/ruby-2.1.1/gems/i18n-0.6.11/lib/i18n.rb:247:in localize' ~/registration_translation_test/registration/app/helpers/application_helper.rb:67:inlocalise_date'
~/registration_translation_test/registration/app/models/course.rb:331:in call_localise_date_helper' ~/registration_translation_test/registration/app/models/course.rb:241:informat_dates_and_times'
~/registration_translation_test/registration/app/models/course.rb:137:in prepare_for_course_form!' ~/registration_translation_test/registration/app/controllers/courses_controller.rb:148:inedit'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/implicit_render.rb:4:in send_action' ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/abstract_controller/base.rb:167:inprocess_action'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/rendering.rb:10:in process_action' ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/abstract_controller/callbacks.rb:18:inblock in process_action'
~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:459:in block in _run__1321610498818693297__process_action__2597671925943698987__callbacks' ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_202'
~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:326:in around' ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:310:in_callback_around_21'
~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:214:in _conditional_callback_around_202' ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:414:in_run__1321610498818693297__process_action__2597671925943698987__callbacks'
~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:405:in __run_callback' ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:385:in_run_process_action_callbacks'
~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:81:in run_callbacks' ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/abstract_controller/callbacks.rb:17:inprocess_action'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/rescue.rb:29:in process_action' ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/instrumentation.rb:30:inblock in process_action'
~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in block in instrument' ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications/instrumenter.rb:20:ininstrument'
~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in instrument' ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/instrumentation.rb:29:inprocess_action'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/params_wrapper.rb:207:in process_action' ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/railties/controller_runtime.rb:18:inprocess_action'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:40:in block in process_action' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:364:inperform_action_with_newrelic_trace'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:39:in process_action' ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/abstract_controller/base.rb:121:inprocess'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/abstract_controller/rendering.rb:45:in process' ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal.rb:203:indispatch'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal/rack_delegation.rb:14:in dispatch' ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_controller/metal.rb:246:inblock in action'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/routing/route_set.rb:73:in call' ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/routing/route_set.rb:73:indispatch'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/routing/route_set.rb:36:in call' ~/.rvm/gems/ruby-2.1.1/gems/journey-1.0.4/lib/journey/router.rb:68:inblock in call'
~/.rvm/gems/ruby-2.1.1/gems/journey-1.0.4/lib/journey/router.rb:56:in each' ~/.rvm/gems/ruby-2.1.1/gems/journey-1.0.4/lib/journey/router.rb:56:incall'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/routing/route_set.rb:608:in call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:incall'
~/.rvm/gems/ruby-2.1.1/gems/bullet-4.11.3/lib/bullet/rack.rb:12:in call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:incall'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/rack/error_collector.rb:50:in traced_call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:55:incall'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/rack/agent_hooks.rb:26:in traced_call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:55:incall'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/rack/browser_monitoring.rb:19:in traced_call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:55:incall'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/rack/developer_mode.rb:48:in traced_call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:55:incall'
~/.rvm/gems/ruby-2.1.1/gems/exception_notification_rails3-1.2.0/lib/exception_notifier.rb:34:in call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:incall'
~/.rvm/gems/ruby-2.1.1/gems/warden-1.2.3/lib/warden/manager.rb:35:in block in call' ~/.rvm/gems/ruby-2.1.1/gems/warden-1.2.3/lib/warden/manager.rb:34:incatch'
~/.rvm/gems/ruby-2.1.1/gems/warden-1.2.3/lib/warden/manager.rb:34:in call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:incall'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/best_standards_support.rb:17:in call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:incall'
~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:incall'
~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:incall'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/head.rb:14:in call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:incall'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/params_parser.rb:21:in call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:incall'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/flash.rb:242:in call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:incall'
~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in context' ~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:incall'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in call' ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/cookies.rb:341:incall'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in call' ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/query_cache.rb:64:incall'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in call' ~/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.19/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:incall'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in call' ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/callbacks.rb:28:inblock in call'
~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:405:in _run__3590243115377264049__call__1588535840998903728__callbacks' ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:405:in__run_callback'
~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:385:in _run_call_callbacks' ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:81:inrun_callbacks'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/callbacks.rb:27:in call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:incall'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/reloader.rb:65:in call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:incall'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/remote_ip.rb:31:in call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:incall'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:incall'
~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/show_exceptions.rb:56:in call' ~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:incall'
~/.rvm/gems/ruby-2.1.1/gems/railties-3.2.19/lib/rails/rack/logger.rb:32:in call_app' ~/.rvm/gems/ruby-2.1.1/gems/railties-3.2.19/lib/rails/rack/logger.rb:18:incall'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in call' ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/request_id.rb:22:incall'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in call' ~/.rvm/gems/ruby-2.1.1/gems/request_store-1.0.6/lib/request_store/middleware.rb:8:incall'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in call' ~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:incall'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in call' ~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:incall'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in call' ~/.rvm/gems/ruby-2.1.1/gems/activesupport-3.2.19/lib/active_support/cache/strategy/local_cache.rb:72:incall'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in call' ~/.rvm/gems/ruby-2.1.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/static.rb:63:incall'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in call' ~/.rvm/gems/ruby-2.1.1/gems/railties-3.2.19/lib/rails/engine.rb:484:incall'
~/.rvm/gems/ruby-2.1.1/gems/railties-3.2.19/lib/rails/application.rb:231:in call' ~/.rvm/gems/ruby-2.1.1/gems/railties-3.2.19/lib/rails/railtie/configurable.rb:30:inmethod_missing'
~/.rvm/gems/ruby-2.1.1/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in call' ~/.rvm/gems/ruby-2.1.1/gems/rack-1.4.5/lib/rack/content_length.rb:14:incall'
~/.rvm/gems/ruby-2.1.1/gems/railties-3.2.19/lib/rails/rack/log_tailer.rb:17:in call' ~/.rvm/gems/ruby-2.1.1/gems/puma-2.8.2/lib/puma/server.rb:490:inhandle_request'
~/.rvm/gems/ruby-2.1.1/gems/puma-2.8.2/lib/puma/server.rb:361:in process_client' ~/.rvm/gems/ruby-2.1.1/gems/puma-2.8.2/lib/puma/server.rb:254:inblock in run'
~/.rvm/gems/ruby-2.1.1/gems/puma-2.8.2/lib/puma/thread_pool.rb:92:in call' ~/.rvm/gems/ruby-2.1.1/gems/puma-2.8.2/lib/puma/thread_pool.rb:92:inblock in spawn_thread'

Kaminari - will_paginate compatibility issue

i'm using in Kaminari on my application and when i installed translation_center gem i got this exception in my application " undefined method 'per' "; when i searched this problem i found that the reason is having Kaminari and will_paginate in the same project

set the correct jquery-ui in application.js

couldn't find file 'jquery-ui' in
translation_center/app/assets/javascripts/translation_center/application.js:15

it has to be updated according to the correct version of jquery-ui.

Revise Documentation

acts_as_translator should be before rake translation_center:synch in the documentation.

Enhance Generators

Enhance generators to do more:

  • Add lang generator should add lang to translation_center.yml
  • Install translation_center generator should add mount route to routes.rb

html markup in translation values

Hi,
I've noticed that the html will be stripped in the update function, which leads to strings translating the html tags into &gt..stuff..

since i will need html to be used in there, i removed the strips, but it seems that
jeditable pulls the value from the html when clicking to edit the box, and therefor also 'strips' the html.

there is a way with jeditable that it won't do that but for that it will need a load url to load the value via ajax.
is anyone working on something like that already?

thanks
T

Multiple errors when trying to use gem

I'm trying to use gem translation_center with rails 3.2.14
I'm following instructions here https://github.com/BadrIT/translation_center

I've done all steps, namely:

Add gem 'translation_center' to gem file, bundle install without any issues.
started generator rails generate translation_center:install en id also succesfully
Changed translation_center.yaml to include 'id' locale
Then run rake:db migrate, migration were success. (I have the same database for dev and production, but rails starting in dev mode anyway.)

On the step:
rake translation_center:synch

I see an error:

rake aborted!
Transliteration rule must be a proc or a hash.
/home/dvporg/.rvm/gems/ruby-2.0.0-p247/gems/i18n-0.6.5/lib/i18n/backend/transliterator.rb:23:in `get'
....

Also the same error whenever I try to use rails (start server, generate migration and so on)

I tried to check my YML files, empty them, deleted them - nothing helps, but if I comment
gem 'translation_center'
In my gemfile everything start working again.

I managed to run that command succesfullly when I remove completely translations from second locale and left only 10 simple translations strings for test in main locale:

en:
new_add_free: Sell for free
my_account: My Account
start_searching: Start searching
select_province: Select province
select_category: Select category
start_search: Start
start_sell_min: Start selling in 1 minute
active_ads: Active ads
minute_ago: 1 Minute ago
today: Today

It seems there were a problem parsing strings that wasn't shown, But after running this command again I've got locale file containing only:

en: {}

despite of during import I've seen:
rake translation_center:synch
WARNING: You already have translations stored in the db, do you want to destroy them? press [Y|n] y
2 locales available: en, id
365 unique keys found. (I have only 2 files in config/locales, one empty another have only 10 lines)
found new 365 key(s)
missing 43 translation(s) for en
missing 365 translation(s) for id
Started exporting translations in en
Done exporting translations of en to en.yml
Started exporting translations in id
Done exporting translations of id to id.yml

When I try to start rails server I got an error again:

/home/dvporg/.rvm/gems/ruby-2.0.0-p247/gems/i18n-0.6.5/lib/i18n/backend/transliterator.rb:23:in `get': Transliteration rule must be a proc or a hash. (I18n::ArgumentError)

I managed to overcome this error by changing :
i18n_source: 'db'
to
i18n_source: 'yml'

But when I finally was able to access to frontand it's also become unusable, the only think I got is this error:
http://clip2net.com/s/5AtTgb

Or empty list no matter what I choose:

http://clip2net.com/s/5AtUco

What have I done so terribly wrong that I have so bad experience with this gem and could you please advice how can I solve this situation?

my translation_center.yml:
common_atts: &common_atts
lang:
en:
name: 'English'
direction: 'ltr'
id:
name: 'Indonesian'
direction: 'ltr'
yaml_translator_identifier: '[email protected]'
yaml2db_translations_accepted: false # default is false
accept_admin_translations: true
translator_type: 'AdminUser' # Uncomment and change if you want to change the translator type

development:
enabled: true # default false
inspector: 'missing' # default missing
i18n_source: 'yml' # can be db or yaml; default is db
save_default_translation: true
<<: *common_atts

production:
enabled: true # default false
inspector: 'off' # default missing
i18n_source: 'yaml' # can be db or yaml; default is yaml
save_default_translation: false

<<: *common_atts

Gem file:
source 'https://rubygems.org'

gem 'rails', '3.2.14'
gem "friendly_id", "> 4.0.9"
gem 'activeadmin'
gem "meta_search", '>= 1.1.0.pre'
gem 'remotipart', '
> 1.0'
gem 'devise'
gem 'omniauth'
gem 'omniauth-facebook'
gem 'fb_graph'
gem 'htmlentities'
gem 'dalli'
gem 'impressionist'
gem 'translation_center'
gem 'mysql2'

gem "twitter-bootstrap-rails"
gem "paperclip", "~> 3.0"
gem 'will_paginate'
gem 'will_paginate-bootstrap'

Gems used only for assets and not required

in production environments by default.

group :assets do
gem 'sass-rails', '> 3.2.3'
gem 'coffee-rails', '
> 3.2.1'

See https://github.com/sstephenson/execjs#readme for more supported runtimes

gem 'therubyracer', :platforms => :ruby

gem 'uglifier', '>= 1.0.3'
end

group :development do
gem "rails-erd"
end

gem "jquery-rails", "2.3.0"

source 'https://rubygems.org'

gem 'rails', '3.2.14'
gem "friendly_id", "> 4.0.9"
gem 'activeadmin'
gem "meta_search", '>= 1.1.0.pre'
gem 'remotipart', '
> 1.0'
gem 'devise'
gem 'omniauth'
gem 'omniauth-facebook'
gem 'fb_graph'
gem 'htmlentities'
gem 'dalli'
gem 'impressionist'
gem 'translation_center'
gem 'mysql2'

gem "twitter-bootstrap-rails"
gem "paperclip", "~> 3.0"
gem 'will_paginate'
gem 'will_paginate-bootstrap'

Gems used only for assets and not required

in production environments by default.

group :assets do
gem 'sass-rails', '> 3.2.3'
gem 'coffee-rails', '
> 3.2.1'

See https://github.com/sstephenson/execjs#readme for more supported runtimes

gem 'therubyracer', :platforms => :ruby

gem 'uglifier', '>= 1.0.3'
end

group :development do
gem "rails-erd"
end

gem "jquery-rails", "2.3.0"

PG::UndefinedColumn: ERROR: column translation_center_translations.en does not exist

I got this error;
root cause I think is in
.rvm/gems/ruby-2.1.1/gems/translation_center-1.7.0/app/models/translation_center/translation_key.rb
in method
def create_default_translation
on the line:
translation = self.translations.build(value: self.name.to_s.split('.').last.titleize, lang: :en, status: 'accepted')

the error occurs for me because of the attribute lang: :en
my PG db does not understand the symbol :en
The error is fixed if I change it to a String
translation = self.translations.build(value: self.name.to_s.split('.').last.titleize, lang: 'en', status: 'accepted')

any idea why I need to do this? - couldn't see anyone else having issues with this.

another related issue is that if I call 't' with a symbol I get a similar error , eg ' t(:any_symbol)

Attach images to translations

Engine will assign images with translation to help where it is used.

Image will have (url, recent_used_at, small screenshot)
Translation should have many images unique by url

Then translator can see where this translation is used

duplicated migration number

when run rake db:migrate it aborted because there are two files have same migration number
file 1 : db/migrate/20130602133806_acts_as_votable_migration.rb
file 2 : db/migrate/20130602133806_install_audited.rb

Redis backed store for i18n

What is the easiest way to set this up to work with redis or riak?
If it possible what is needed to change and where?
What I found is translate_with_adding in lib/translation_center/translation_helpers.rb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.