AW: [opencms-dev] Underscores in Language Files

Andreas Schouten Andreas.Schouten at framfab.de
Mon Jul 23 16:33:37 CEST 2001


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