ruby - rails t function showing i18n -


i'm working on first refinerycms project , there line in footer:

<%= t('.copyright', :year => time.now.year, :site_name => refinery::core.site_name) %> 

it's displaying on site:

i18n: copyright 

where i18n come , t function needed?

edit:

my /config/locales/en.yml contains code below. need add or best remove t() tag?

en:   hello: "hello world" 

i18n it's internationalization library comes rails, wich helps having translation diferent locations in rails app.

t() it's call translate, think it's alias actually.

you should have yaml file in locales folder there copyright, wich needs year , site_name.

i guess changed location there no translation, since refinerycms should english only.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -