Messages.mo only possible for packages not for custom blocks?
Permalink
Hey,
does anybody know if there is a way to insert a messages.po to translate a custom block which is not in a package?
I put my language file into /blocks/my_custom_block/languages/LC_MESSAGES/message.mo but it seems not to be recognized by c5. (Cache was cleared)
Thanks in advance!
does anybody know if there is a way to insert a messages.po to translate a custom block which is not in a package?
I put my language file into /blocks/my_custom_block/languages/LC_MESSAGES/message.mo but it seems not to be recognized by c5. (Cache was cleared)
Thanks in advance!
I think the path of least resistance would be to simply include the block in a package?
If this is for a legacy site I would entertain the idea of installing the same sort of package that would have installed the block, then setting the package id where appropriate to match where the package would have installed it and the translations should be picked up just as if the block was installed with the package.
If this is for a legacy site I would entertain the idea of installing the same sort of package that would have installed the block, then setting the package id where appropriate to match where the package would have installed it and the translations should be picked up just as if the block was installed with the package.
http://www.concrete5.org/documentation/how-tos/developers/translati...