Coder Social home page Coder Social logo

ootalk's People

Contributors

gitter-badger avatar junkpiano avatar kikkawakikkawa avatar olivia-tou avatar ounennhei avatar pyar6329 avatar rinrinnchi avatar ychubachi avatar yuchan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ootalk's Issues

i18nの設定の削除

https://github.com/SBR2015/OoTalk/blob/master/lib/ootalk/abstract_syntax_lists.rb

  I18n.available_locales = [:en, :ja, :cn, :vi]
  I18n.enforce_available_locales = true
  I18n.default_locale = :en

  I18n.locale = locale

はrails側で設定するのでいらない

必要なのは以下の2つ(ymlファイルをロードさせる)

I18n.load_path += Dir[File.expand_path('../../../config/locales', __FILE__) << '/*.yml']
load_file = File.expand_path('../../../config/locales', __FILE__) << "/as.#{I18n.locale}.yml"

gemspecに依存の追加

i18nは必要なので、

  spec.add_development_dependency 'i18n'

じゃなく

  spec.add_dependency 'i18n'

にしないとまずそう

目標

MVCで最小で動くものを作る

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.