Hello,
I am new to elixir and phoenix.
and I get into compilation error:
== Compilation error in file lib/ex_admin/paginate.ex ==
** (ArgumentError) *gettext macros expect translation keys (msgid and msgid_plural) and
domains to expand to strings at compile-time, but the given msgid
doesn't.
Dynamic translations should be avoided as they limit gettext's
ability to extract translations from your source code. If you are
sure you need dynamic lookup, you can use the functions in the Gettext
module:
string = "hello world"
Gettext.gettext(ExAdmin.Gettext, string)
when I check error lines, it fail on <> operator
text gettext "Displaying" <> " "
if I change the syntax without <> operator it compiles ok.
Please advise what could be wrong
Thanks
Serge