Skip to content

Translation missing error #3593

Answered by mshibuya
emrhnksck asked this question in Q&A
Jan 16, 2023 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

Due to the Rails initialization order, locales are not loaded upon the initializer execution.
Use this style to get it lazily evaluated.

navigation_label { I18n.t('admin.misc.example1') }

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@emrhnksck
Comment options

Answer selected by emrhnksck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3592 on January 16, 2023 13:29.