Localizing TimeMapper (de-DE)

Hi everybody,

I’d like to provide German as an additional locale for TimeMapper, as I introduced it to some German newsrooms, but they are not so happy with the dates being displayed in US formatting.

The standard process should work with python object files, as far as I know.

However, I only have sort of an end user experience with po files, where I translated files with the help of poeditor.com.

So I’d be grateful if you could briefly explain to me how to use which file, and what else is necessary to get to a working de-DE version.

Cheers,
Michael

1 Like

Hi @mhoerz,

After a bit of research, I suspect that this has nothing to do with the po files. Since they’re only for the TimeMapper website and not for the resulting embeddable TimeMap.

The Timeline is this one: GitHub - NUKnightLab/TimelineJS3: TimelineJS v3: A Storytelling Timeline built in JavaScript. http://timeline.knightlab.com
They have an option for language, but you have to specify that in the configuration which you don’t have access to as an end user.

TimeMapper has a tmconfig which has a timelineJSOptions field, but it does not get populated as far as I can tell.
It seems that this should be created and added to the creation view.

Starting point would be here:

You can add a new field and try to add a timelineJSOptions.language field.

I do not have the time right now. Otherwise, I would help, but maybe someone with more knowledge of TimeMapper could help.

Hi @mila_frerichs,

cheers for having a look and clarifying it for me.

(I also notice that I was quite busy the last weeks, as three weeks have passed since you answered. Hmm)

That sounds like a decent approach, as Knight Lab’s Timeline site includes the language option.

As I am not a developer (but rather fiddle around with data), I would be very grateful for the help of the TimeMapper crowd :slight_smile: