[opencms-dev] Re: language file and modules
Jorg Heymans
jh at coeno.com
Thu Jan 30 09:03:20 CET 2003
How do you reference the element in your template ?
What does your contentdefinition class look like ? I am unsure what you
mean by "adding a new view to the view select box". Send us some more
info so we can have a look.
greetings
Jorg
Publius Ismanescu wrote:
> Hi Jorg,
>
> I did what you suggested but still doesn't work. Is shows as ?view?
>
> Thank you
>
>
>
> Jorg Heymans wrote:
>
>> Whenever making changes to the language files you need to
>> 1. publish your project
>> 2. restart tomcat
>>
>> Note : i don't know if 5.0rc1 changes this but in 4.7 it's required.
>>
>> Publius Ismanescu wrote:
>>
>>> Sorry for the mistake:
>>>
>>> the language file is :
>>> <?xml version="1.0"?>
>>> <LANGUAGE>
>>> <name>English</name>
>>> <com_opencms_testmodule>
>>> <view>Edit View</view>
>>> </com_opencms_testmodule>
>>> </LANGUAGE>
>>>
>>> Publius Ismanescu wrote:
>>>
>>>> Hi,
>>>> I'm using opencms rc1
>>>> I created a new module com.opencms.testmodule adding a new view to
>>>> the view select box.
>>>> I followed the instruction in the documentation and I created a
>>>> file com.opencms.testmodule_en for language inside the
>>>> /com.opencms.testmodule/locales/en/ folder:
>>>>
>>>> my language file looks like this:
>>>> <?xml version="1.0"?>
>>>> <LANGUAGE>
>>>> <name>English</name>
>>>> <com_opencms_editmodule>
>>>> <view>Testing View</view>
>>>> </com_opencms_editmodule>
>>>> </LANGUAGE>
>>>>
>>>> Inside the select view ,the new item is still ?view?, it is not
>>>> replaced.
>>>>
>>>> Please let me know what I'm doing wrong. The name of the tag is not
>>>> correct ? The name of the file is not correct?....
>>>> I appreciate any help on this,
>>>>
>>>> Thank you
>>>> Publius
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>
More information about the opencms-dev
mailing list