Opened 6 years ago

Last modified 2 years ago

#16476 assigned defect

reference-guide/1.8/dojo/i18n.html - the example doesn't work

Reported by: vvoovv Owned by: Adam Peller
Priority: undecided Milestone: 1.15
Component: Documentation Version: 1.8.1
Keywords: Cc: Dustin Machi
Blocked By: Blocking:

Description

The request module "dojo/i18n!../../_static/dijit/nls/common.js" is not available on the server.

Change History (6)

comment:1 Changed 6 years ago by bill

Component: WebsiteDocumentation
Owner: changed from itorrey to Adam Peller
Status: newassigned

The file is there on http://livedocs.dojotoolkit.org/dojo/i18n but it still gets an error in the example, offhand not sure what is wrong.

comment:2 Changed 6 years ago by Adam Peller

My guess is that "../../_static/dijit" is not a valid module path. It is a valid filepath (only on the livedocs staging server) but the i18n! plugin does a require on that as if it were a module and it comes back as undefined. Perhaps just including "dojo/i18n!dijit/nls/common" should work.

I tried making the change, but got this error from the wiki. UTF-8 ought to be supported.

HTTPError: (400, "The request entity could not be decoded. The following charsets were attempted: ['utf-8']")
Last edited 6 years ago by Adam Peller (previous) (diff)

comment:3 in reply to:  2 Changed 6 years ago by Adam Peller

Last edited 6 years ago by Adam Peller (previous) (diff)

comment:4 Changed 6 years ago by Adam Peller

Cc: Dustin Machi added

Dustin, can you help with the error, above?

comment:5 Changed 3 years ago by dylan

Milestone: tbd1.12

comment:6 Changed 2 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.