Well, the timeline itself is now localised, works with the cyrillic
and swedish locale. Thanks for getting that to work!

But if I try to use åäö in the text for the items in the timeline, I
still get the error...

I've been looking in the documentation if there is anything I could
write in the xml-file with the events to get it localized, but haven't
found anything.

/Pär



On 19 Apr, 09:29, Hipshot <pegal...@gmail.com> wrote:
> Couldn't get that to work. Maybe I missed something, this is how I
> have it:
>
>         meta http-equiv="Content-Type" content="text/
> html;charset=UTF-8" />
>         <script>Timeline_urlPrefix = "http://static.simile.mit.edu/
> timeline/api-2.3.0/";;</script>
>
>         <script src="http://static.simile.mit.edu/timeline/api-2.3.0/
> timeline-api.js?bundle=true" type="text/javascript"></script>
>
>         <script src="http://api.simile-widgets.org/timeline/2.3.1/
> timeline-api.js?forceLocale=se" type="text/javascript"></script>
>
> I tried using the ASCII HTML-number in the xml-file (å = &#229;), and
> that worked! But it would still be nice to be able to use åäö
> directly.
>
> Regards,
>
> /Pär
>
> On 16 Apr, 12:44, Alexey Smirnov <ale...@gmail.com> wrote:
>
>
>
> > Hi Pär,
>
> > If you want to localize timeline you can use a forceLocale parameter as 
> > follows:
>
> >     <script  
> > src="http://api.simile-widgets.org/timeline/2.3.1/timeline-api.js?forceLoc...";
> > type="text/javascript"></script>
>
> > You can get the list of supported locales here:
>
> >http://www.google.com/codesearch/p?hl=en#Lhpgg-dZ4PI/timeline/trunk/s....com&sa=N&cd=1&ct=rc&l=125
>
> > Alexey
>
> > On Thu, Apr 15, 2010 at 10:18 PM, Michiel <m.d.na...@hetnet.nl> wrote:
> > > Hi,
>
> > > No solution, but if you  look at
> > >http://www.microformats.dk/simile/vejrrekorder/vejrrekorder.html
> > > you see a timeline with placenames in Danmark of which some have non-
> > > ascii characters (in my screen is now Sonderborg where the first o is
> > > not an o but an o with a slash through it). So perhaps the error is
> > > generated by something else.
>
> > > Michiel
>
> > > On Apr 15, 11:01 am, Hipshot <pegal...@gmail.com> wrote:
> > >> Hi!
>
> > >> I'm testing the timeline using the "Getting started" section, and it
> > >> works fine. Except for when I use å, ä and ö anywhere in the displayed
> > >> text. Then I get an error:
>
> > >> "Caught exception: undefined
>
> > >> Details: TypeError: D is null"
>
> > >> Is there a way to localise the timeline?
>
> > >> Regards,
>
> > >> /Pär
>
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "SIMILE Widgets" group.
> > > To post to this group, send email to simile-widg...@googlegroups.com.
> > > To unsubscribe from this group, send email to 
> > > simile-widgets+unsubscr...@googlegroups.com.
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/simile-widgets?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "SIMILE Widgets" group.
> > To post to this group, send email to simile-widg...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > simile-widgets+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/simile-widgets?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "SIMILE Widgets" group.
> To post to this group, send email to simile-widg...@googlegroups.com.
> To unsubscribe from this group, send email to 
> simile-widgets+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/simile-widgets?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to simile-widg...@googlegroups.com.
To unsubscribe from this group, send email to 
simile-widgets+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to