AW: [opencms-dev] Underscores in Language Files
H_Busch at push-interactive.de
H_Busch at push-interactive.de
Mon Jul 23 16:57:46 CEST 2001
As I already thought, there is no function for escaping certain characters.
Too bad. Well, guess I have to rename all packages.
Best regards,
Hendrik Busch
P.S.: The complete sentence is "The prefix of a unique package name is
always written in all-lowercase ASCII letters and should be one of the
top-level domain names". According to the naming conventions, my package
names are fully compliant.
-----Ursprüngliche Nachricht-----
Von: Andreas Schouten [mailto:Andreas.Schouten at framfab.de]
Gesendet: Montag, 23. Juli 2001 16:34
An: 'opencms-dev at www.opencms.com'
Betreff: AW: [opencms-dev] Underscores in Language Files
Hi,
you should not use the underscore in package-names. See code-conventions of
sun:
http://java.sun.com/docs/codeconv/html/CodeConventions.doc8.html
"... package name is always written in all-lowercase ASCII letters ..."
Regrads,
Andreas
-----Ursprüngliche Nachricht-----
Von: H_Busch at push-interactive.de [mailto:H_Busch at push-interactive.de]
Gesendet: Montag, 23. Juli 2001 16:29
An: opencms-dev at opencms.com
Betreff: [opencms-dev] Underscores in Language Files
Hi!
I encountered a problem during the deployment of my first module. The icon
subtitle in the Administration page is determined by a tag in a language
file. My package name is
de.push_interactive.opencms.test
the Backoffice class is called
TestBackoffice
Now I just can't write
<de_push_interactive_opencms_test_TestBackoffice>
in the language file because the underscores which are real underscores and
those who represent dots can no longer be distinguished. How do I tell
OpenCMS which is which?
I also can't name the file
de.push_interactive.opencms.test_de.txt
due to the same problem. It is not obvious where the language suffix begins.
How do I work with underscores in package names??
Best regards,
Hendrik Busch
----------------------------------------------
Hendrik Busch c/o Push Interactive Media GmbH
Villamedia, Viehhofstrasse 125,
D-42117 Wuppertal
mail: h_busch at push-interactive.de
phone: +49/202/2427-352
fax: +49/202/2427-300
----------------------------------------------
More information about the opencms-dev
mailing list