It just stroke me that it could have to with page abbreviations.

I have problems with meeting/answers and meeting/list

I.e. MeetingAnswers.java & MeetingList.java / MeetingAnswers_sv.properties
& MeetingList_sv.properties

which both are accessed with short hand format

But it works if I skip the _sv suffix on the property files.



2012/2/23 Gunnar Eketrapp <gunnar.eketr...@gmail.com>

> MeetingAnwsers_sv.properties i mean
>
>
> 2012/2/23 Gunnar Eketrapp <gunnar.eketr...@gmail.com>
>
>> It does not have to do with the casing so it must be something else.
>>
>> E.g. page MeetingAnswers.java does not pick up texts
>> from MeetingAnwsers_sv.txt when running in Ubuntu
>>
>> The strange thing is that it only some of the pages have this problem.
>>
>> I will add a MeetingAnwsers.txt now to se if that fixes the problem.
>>
>>
>>  2012/2/22 Howard Lewis Ship <hls...@gmail.com>
>>
>>> There are some cases where you need to have the app.properties file
>>> for app_sv.properties to be picked up.
>>>
>>> However, when you hit a problem like this, it is most likely the case
>>> of the file name.  Windows is case-insenstive, Ubunutu is case
>>> sensitive.
>>>
>>> Thus MyPage.java means MyPage.properties, and mypage.properties will
>>> work on Windows, fail on Ubuntu.
>>>
>>>
>>> On Wed, Feb 22, 2012 at 11:54 AM, Gunnar Eketrapp
>>> <gunnar.eketr...@gmail.com> wrote:
>>> > Hi!
>>> >
>>> > My app is current in swedish only.
>>> >
>>> > So my app module states ..
>>> >
>>> >        configuration.add(SymbolConstants.SUPPORTED_LOCALES, "sv");
>>> >
>>> > I have named my page property files as ..
>>> >
>>> >      <page>_sv.properties
>>> >
>>> > .. and there are no <page>.properties files.
>>> >
>>> > Actually dont know why I have added the _sv ending since _sv is the
>>> default
>>> > but I will remember that I had some problem that was solved by doing
>>> this
>>> >
>>> > Anyhow this has worked well during development on my windows machine.
>>> >
>>> > Now I am phasing missing-key for my properties in the released ubuntu
>>> live
>>> > version.
>>> >
>>> > I.e. T5 does not search my _sv property files.
>>> >
>>> > What have I missed? Must there by files without locale suffix and if
>>> so why
>>> > did it wor during development.
>>> >
>>> > Thanks in advance!
>>> >
>>> > /Gunnar
>>>
>>>
>>>
>>> --
>>> Howard M. Lewis Ship
>>>
>>> Creator of Apache Tapestry
>>>
>>> The source for Tapestry training, mentoring and support. Contact me to
>>> learn how I can get you up and productive in Tapestry fast!
>>>
>>> (971) 678-5210
>>> http://howardlewisship.com
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>>
>>
>>
>> --
>> [Hem: 08-715 59 57, Mobil: 0708-52 62 90]
>> Allévägen 2A, 132 42 Saltsjö-Boo
>>
>
>
>
> --
> [Hem: 08-715 59 57, Mobil: 0708-52 62 90]
> Allévägen 2A, 132 42 Saltsjö-Boo
>



-- 
[Hem: 08-715 59 57, Mobil: 0708-52 62 90]
Allévägen 2A, 132 42 Saltsjö-Boo

Reply via email to