RE: overriding module language key for dynamic-data-mapping-lang module

Jamie Sammons, modified 3 Years ago. New Member Post: 1 Join Date: 9/7/22 Recent Posts

Hi! I am trying to override module language key for dynamic-data-mapping module in liferay-DXP-7.3.10-ga1(liferay-fix-pack-dxp-2-7310) . keys to override are present in dynamic-data-mapping-lang folder. but I am not able to find the servlet.context.name property of Provide-Capability in bnd.bnd file. checked the bundle for this module but cannot find web-context-path. I have followed these links
https://learn.liferay.com/dxp/latest/en/liferay-internals/extending-liferay/overridin[…]slations.html?highlight=overriding%20module%20language%20key
https://help.liferay.com/hc/en-us/articles/360017886332-Overriding-a-Module-s-Language-Keys 

 

thumbnail
Russell Bohl, modified 3 Years ago. Expert Posts: 308 Join Date: 2/13/13 Recent Posts

I believe you need the Web-ContextPath of the dynamic-data-mapping bundle that uses the key, not the lang bundle. For example servlet.context.name=dynamic-data-mapping-form-web (if it's Forms)

As mentioned in slack