In my project, we have created the web resources with folder like structure as shown below.
.js file name - new_/EDA/ProductForm.js
.resx file name- new_/EDA/CustomMessages.1033.resx
Xrm.Utility.getResourceString('new_/EDA/CustomMessages', 'ProductTypeValidationMessage')
Xrm.Utility.getResourceString('EDACustomMessages', 'ProductTypeValidationMessage')
One of the scripts for this record has caused an error. For more details, download the log file.
'new_/EDA/CustomMessages' does not exist.
Nithya