Bug 550 - Speller installer instructions do not follow locale selection
Summary: Speller installer instructions do not follow locale selection
Alias: None
Product: Infrastructure
Classification: Unclassified
Component: Divvun.no (show other bugs)
Version: unspecified
Hardware: All All
: P2 - As soon as possible major
Assignee: Børre Gaup
URL: http://www.divvun.no/doc/proof/spelli...
Depends on:
Reported: 2007-10-17 09:15 CEST by Sjur Nørstebø Moshagen
Modified: 2015-03-16 14:16 CET (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Sjur Nørstebø Moshagen 2007-10-17 09:15:16 CEST
When opening the above URL, the content displayed is Norwegian bm, independently of the locale selected by the user.

When opening the same document locally, the content follows the locale selection as expected.
Comment 1 Børre Gaup 2007-10-28 17:36:44 CET
We have a document, install_use.jspwiki, which is written in norwegian bokmål inside the doc/proof/spelling/msoff/ directory. We also have locale specific versions of install_use there.

If I remove the install_use.jspwiki file, but leave the other ones, I get the answer:

Internal Server Error
Message: null
Description: No details available.
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
Request URI
/home/sd/xtdoc/sd/src/documentation/content/xdocs/doc/proof/spelling/msoff/install_use.xml (No such file or directory)

This could be because these files are jspwiki files, and that the localization code doesn't work the way it works for .xml documents.
Comment 2 Børre Gaup 2007-12-04 15:12:03 CET
When moving to Mac OS X, forrest needs the java.awt.headless argument.

It was called this way: forrest run -Dforrest.jvmargs="-Djava.awt.headless=true -Dfile.encoding=utf-8"

After some research I found that true had to be quoted, so the command: 

forrest run -Dforrest.jvmargs="-Djava.awt.headless='true' -Dfile.encoding=utf-8"

gives the desired result.

If true is not quoted, it "kills" the next argument other argument, too.