Code Monkey home page Code Monkey logo

Comments (4)

MichaelHoste avatar MichaelHoste commented on September 13, 2024 1

Sorry, it was related to this issue #2.

We don't require Gettext anymore to free some memory (only if you disabled it). I guess you're right and this text must be annoying. We'll remove it and create a new release in the next days.

from rails.

aldesantis avatar aldesantis commented on September 13, 2024

No rush, it can be easily disabled with an initializer:

module I18n
  class Config
    def locale=(locale)
      I18n.enforce_available_locales!(locale) if I18n.respond_to?(:enforce_available_locales!)
      @locale = locale.to_sym rescue nil

      if defined?(GetText)
        GetText.set_current_locale(locale.to_s.gsub('-', '_').to_sym)
      else
        # puts "do not set gettext locale because not loaded"
      end
    end
  end
end

from rails.

aurels avatar aurels commented on September 13, 2024

Oops, that's something I let there :p

from rails.

aurels avatar aurels commented on September 13, 2024

Fixed in v1.8.1 ;-)

from rails.

Related Issues (20)

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.