Opened 14 years ago

Last modified 14 years ago

#2323 closed defect

Failure to build i18n resources in external namespace widget — at Version 1

Reported by: Adam Peller Owned by: Adam Peller
Priority: high Milestone: 0.9
Component: BuildSystem Version: 0.4.1
Keywords: Cc: [email protected]
Blocked By: Blocking:

Description (last modified by dylan)

I have created a customized widget with i18n support. The folder structure of the widget is like:

        widgets     (This folder  contains a mywidget.js  file)

The widget and its i18n mechanism works fine, then I tried to make a build that incorporate the widget.

The build profile is like:

var dependencies = [

dependencies.prefixes = [
  ["mycompany", "../mycompany"]


The build process looks success and generate no error messages.

I found the i18n messages of the widget is not merged into the nls files beneath dojo/nls folder.

The problem is, when opening the html file in the browser that invoke mywidget, an error message of "no loaded module named ' mycompany.widget.nls.MyWidget?' " appears, and the widget will not be rendered.

Change History (1)

comment:1 Changed 14 years ago by dylan

Description: modified (diff)
Milestone: 0.9
Note: See TracTickets for help on using tickets.