Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 railsadmin 进行内容管理。我想在我的网站上添加 2 个新语言。我有什么选择?有人想法吗?我在 github/rails_admin 上找不到有关此主题的任何信息
Grtz..emco
为什么不添加到内容页面,例如 - rails g migration add_lang_to_pages lang_1_title:string lang_1_conent:text lang_2_title:string lang_2_content:text
然后做 - rake db:migrate 和启动 rails admin 和新的语言字段应该在那里。