[GeoNetwork-devel] Error and fix for calendar localization

Hi:

In the style sheet main-page.xsl de script for calendar localization is always added as:

src=“{/root/gui/url}/scripts/calendar/lang/calendar-en.js”/>

this way the calendar no matters what language is being used
is shown in english, to fix this the above line should be changed to:

src=“{/root/gui/url}/scripts/calendar/lang/calendar-{/root/gui/language}.js”/>

Regards

Godofredo Contreras


i’m is proud to present Cause Effect, a series about real people making a difference. Learn more

Thanks, change integrated.
Jeroen

On Dec 14, 2007, at 9:52 PM, godofredo contreras wrote:

Hi:

In the style sheet main-page.xsl de script for calendar localization is always added as:

src=“{/root/gui/url}/scripts/calendar/lang/calendar-en.js”/>

this way the calendar no matters what language is being used
is shown in english, to fix this the above line should be changed to:

src=“{/root/gui/url}/scripts/calendar/lang/calendar-{/root/gui/language}.js”/>

Regards

Godofredo Contreras


i’m is proud to present Cause Effect, a series about real people making a difference. Learn more

SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

but it is invalid in chinese

Jeroen Ticheler-3 wrote:

Thanks, change integrated.
Jeroen

On Dec 14, 2007, at 9:52 PM, godofredo contreras wrote:

Hi:

In the style sheet main-page.xsl de script for calendar
localization is always added as:

src="{/root/gui/url}/scripts/calendar/lang/calendar-en.js"/>

this way the calendar no matters what language is being used
is shown in english, to fix this the above line should be changed to:

src="{/root/gui/url}/scripts/calendar/lang/calendar-{/root/gui/
language}.js"/>

Regards

Godofredo Contreras

i’m is proud to present Cause Effect, a series about real people
making a difference. Learn more
----------------------------------------------------------------------
---
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/
marketplace
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/
projects/geonetwork

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://www.nabble.com/Error-and-fix-for-calendar-localization-tp14343657s18419p14415342.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

hmm, yes, thought about the same this morning. It indeed depends on if a language file is there for the calendar. We may have to slightly improve the fix or add a chinese language file. Do you have one or could you create one?
Thanks,
Jeroen

On Dec 19, 2007, at 12:36 PM, YW gong wrote:

but it is invalid in chinese

Jeroen Ticheler-3 wrote:

Thanks, change integrated.
Jeroen

On Dec 14, 2007, at 9:52 PM, godofredo contreras wrote:

Hi:

In the style sheet main-page.xsl de script for calendar
localization is always added as:

src="{/root/gui/url}/scripts/calendar/lang/calendar-en.js"/>

this way the calendar no matters what language is being used
is shown in english, to fix this the above line should be changed to:

src="{/root/gui/url}/scripts/calendar/lang/calendar-{/root/gui/
language}.js"/>

Regards

Godofredo Contreras

i’m is proud to present Cause Effect, a series about real people
making a difference. Learn more
----------------------------------------------------------------------
---
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/
marketplace
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/
projects/geonetwork

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://www.nabble.com/Error-and-fix-for-calendar-localization-tp14343657s18419p14415342.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork