. Our supply chain solutions now run through
9 of the world's 10 largest oil companies, and serve nearly 300 clients of
all sizes and roles within the energy supply chain.
/quot
--
Konstantin Piroumian
OILspace, 4, B. Spasskaya str. room 01, 107078 Moscow, Russia
P:+7 095 787 4700 F:+7 095 787 4701
Date formats used by i18n transformer come from the JDK resource bundles.
Check the i18n samples in Cocoon and switch to Polish translation, there is
a date somewhere at the last line and it should be formatted according to
the selected locale.
In any case, if you want another format then you can
in XMLResourceBundleFactory and XMLResourceBundle
classes by using the Cocoon standart components caching interfaces. If you
submit a patch then I'll take care of reviewing it and committing it to CVS.
Regards,
Konstantin Piroumian
Regards,
Marcin Okraszewski
Stavros,
I just have checked your site and it seems that everything works as
expected.
Either this is a cache problem (check your browser or proxy settings) or can
be a floating bug in LocaleAction, which appears only if more than one user
is requesting the same page.
Let me know if you find out
XMLResourceBundle and XMLResourceBundleFactory to
check the last modification date and reload the message if required.
Regards,
Konstantin Piroumian
- Original Message -
From: Collin VanDyck
To: [EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 19:24
Subject: i18n resource catalogs
I had an idea to create such a JXPath-based module, just like it is done for
Request and Session objects, but I didn't find any property in the
application context object that could be accessed through JXPath (this is
because you can't call functions like getXXX(param) that expect an input
value
From: Christoph Strehl [EMAIL PROTECTED]
Where do I get the patch you wrote for the JSP stuff in C2.1 / C2.0 ? Or
is
it already implemented in the current Cocoon-distributions? If so I wonder
why I cant get those samples to work with the latest distributions.
About jsp:include / and
Unfortunately there is no such a built-in option in LocaleAction (which is
used to get the locale and pass it to the i18n trasformer). It's not that
difficult to add this parameter, but I have absolutely no time to make that
change in the nearest future.
-- Konstantin
- Original Message
Not sure if this is an i18n transformer issue, but it is worth to take a
look at the MirrorRecorder class (in transformation/helpers). Probably, it
simply doesn't record the uri and the local name when parsing a translation.
It should be quite easy to add support for it.
I'll take a look at it if
to check each bundles modification time could affect the
perfomance. Though, it should not be difficult to implement.
-- Konstantin
-- stavros
On Fri, 5 Sep 2003, Konstantin Piroumian wrote:
In ideal, the underlying resource bundle caching mechanism should check
the
validity of its
In ideal, the underlying resource bundle caching mechanism should check the
validity of its resource bundles and reload them when needed.
-- Konstantin
From: [EMAIL PROTECTED]
hi
i have notify tha cocoon keep in cach transaltion files (xml) so when u
update those .xml files with new key
solution to a
problem is found (see the subject).
I think that this particular case would be useful to others too.
Regards,
Konstantin
Enrico
- Original Message -
From: Konstantin Piroumian [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Enrico Ballarin Dolfin
[EMAIL PROTECTED]
Sent
I see two ways of preserving the selected locale (if you don't want to use
sessions):
1. Add 'locale' attribute with the selected language to each link on the
page. You can pass this paramter to a transformer that will do the job.
2. Use cookies on the client side to store the locale. This can
to LocaleAction to initialize
locale value with something different.
-- Konstantin
I'm trying now also with sessions (sunShine in cocoon 2.0.4), but I cannot
find a way to get the default language of the computer accessing the page.
Enrico
- Original Message -
From: Konstantin
There's a sitemap W3C Schema somewhere in documents/drafts, just search for
something like *.xsd in Cocoon src directory and you'll find it there.
Though, I'm not sure that it is up-to-date, but I don't remember any
important changes since I last updated the schema.
Also, there are several other
.
-- Konstantin
-Ursprüngliche Nachricht-
Von: Konstantin Piroumian [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 27. August 2003 12:47
An: [EMAIL PROTECTED]
Betreff: Re: Sitemap XSD?
There's a sitemap W3C Schema somewhere in documents/drafts, just search for
something like *.xsd in Cocoon src
From: Beat De Martin [EMAIL PROTECTED]
I already changed the namespaces.
At the pipeline I use only
...
map:transform type=i18n/
...
Maybe I have to use the following:
map:transform type=i18n
map:parameter name=locale value={session-attr:locale}/
/map:transform
Is this required
will be
able to provide some feedback or other hints on implementation.
Regards,
Konstantin Piroumian [EMAIL PROTECTED]
From: Mark Leicester [EMAIL PROTECTED]
Hello,
I have just 'assembled' a Cocoon[1] generator for MIDI files. This
component
takes a MIDI file as its source and then generates an XML
the framework very
well,
so there are some questions:
Which class contains the getSitemapURI function? How can I get class?
Regards
Marc
Am Freitag, 1. August 2003 08:10 schrieb Konstantin Piroumian:
Yes, that should be fixed. At the time of writing the JSPReader (and
JSPGenerater
with webapp context relative paths, so the JSP could work as
usual. This one is just a suggestion, I'm not sure that it's possible to do
easily.
-- Konstantin
Regards
Marc
Regards,
Konstantin
Joerg
Konstantin Piroumian wrote:
This method is available from the Request object
From: [EMAIL PROTECTED]
Hi
This is how I've done things, maybe it'll help:
map:action name=locale
src=org.apache.cocoon.acting.LocaleAction
logger=sitemap.action.locale
store-in-sessionfalse/store-in-session
create-sessionfalse/create-session
21 matches
Mail list logo