Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: how to read i18n properties in api module(service builder)
hi
i use liferay ce 7.4 ga11
except mvc-module, i want use i18n in other kind of module, for example, api module(service-builder)
but i put the constent folder in src/main/java or src/main/resources, still get exception: java.util.MissingResourceException: Can't find bundle for base name content.Language, locale en_US
can anyone help? thanks in advance.
Try renaming the folder from constent > content.
hi Russell
thank you, but i not use it in mvc module, i use it in api module.
however, i create another api, and use language module reference. it works.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™