github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/ruby/rideshare_rails/config/locales/en.yml (about)

     1  # Files in the config/locales directory are used for internationalization
     2  # and are automatically loaded by Rails. If you want to use locales other
     3  # than English, add the necessary files in this directory.
     4  #
     5  # To use the locales, use `I18n.t`:
     6  #
     7  #     I18n.t "hello"
     8  #
     9  # In views, this is aliased to just `t`:
    10  #
    11  #     <%= t("hello") %>
    12  #
    13  # To use a different locale, set it with `I18n.locale`:
    14  #
    15  #     I18n.locale = :es
    16  #
    17  # This would use the information in config/locales/es.yml.
    18  #
    19  # The following keys must be escaped otherwise they will not be retrieved by
    20  # the default I18n backend:
    21  #
    22  # true, false, on, off, yes, no
    23  #
    24  # Instead, surround them with single quotes.
    25  #
    26  # en:
    27  #   "true": "foo"
    28  #
    29  # To learn more, please read the Rails Internationalization guide
    30  # available at https://guides.rubyonrails.org/i18n.html.
    31  
    32  en:
    33    hello: 'Hello world'