AW: Default language
[email protected] Wed, 6 Jul 2005 14:16:57 +0200
| Newsgroups | gmane.comp.java.strutscx.user |
|---|---|
| Message-ID | <BF3A474AC04895428944668619196C8A0C34F99A@exc-msp-w1s> |
Hello Bernd,
i ran into the same trouble. In strutscx-config.xml you can configure
all available language properties. The Problem Yayo mentioned is, that
there is now possibility to set some kind of default language.
You can test this with your shipped demo application. When your Browser
is configured with an language (e.g. spanish), which is not setup in
strutscx-config.xml, then the application crashes.
<resources-properties>
<!-- build something in like this>
<default>de</default>
<!-- -->
<de>/WEB-INF/xml/index-de.xml</de>
<en>/WEB-INF/xml/index-en.xml</en>
</resources-properties>
So if the client is setup with an language, which is not supported by
the application, then the default language should be displayed.
Best regards
Oliver Walter
> -----Ursprüngliche Nachricht-----
> Von: Bernhard Woehrlin [mailto:[email protected]]
> Gesendet: Dienstag, 5. Juli 2005 10:27
> An: 'Yayo'; [email protected]
> Betreff: AW: [Strutscx-user] Default language
>
> Hi Yayo,
>
> Check the lang and resources-properties elements in your
> strutscx-config.xml
> to configure the language settings. - Could you give us more precise
> information on the reason of the application crash in your browser?
>
> Thanks,
>
> Berny
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> [mailto:[email protected]] Im Auftrag von Yayo
> Gesendet: Dienstag, 5. Juli 2005 09:11
> An: [email protected]
> Betreff: [Strutscx-user] Default language
>
> Can there be applied a default language for the resources?
>
> I've noticed that the strutscx demo crashes when I run it with spanish
> configured browser. Can there be specified a default language to load?
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick
> _______________________________________________
> Strutscx-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/strutscx-user
>
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
> _______________________________________________
> Strutscx-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/strutscx-user
>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click