…meie igapäevast IT’d anna meile igapäev…

2014-05-13

How to set the language of the Google Calendar RSS/Atom feed

Filed under: Infotehnoloogia,Nipid — Sander @ 10:55:02
Tags: , , , ,

At home, Google Calendar feed was in Finnish. At work, in English. In InoReader, my current feed reader, Serbian (I think…). In my previous feed reader, Russian.

And no, I didn’t want it that way. Unfortunately, for some reason, instead of using my selected language in Calendar, Google seems to use a badly implemented combination of location sniffing and browser/client accept-language header to specify the language of the feed.

Officially there is no way to set the language of the feed (parameter reference). The “locale” in the same page does not work for feeds, nor does “lan=en” as recommended here. However, non-feed related Google Calendar forum post pointed me to the right direction.

You have to append hl=en (or other google-supported two-letter language code) to your feed URL. So that /calendar/feeds/[email]/private-[key]/basic becomes /calendar/feeds/[email]/private-[key]/basic?hl=en – or, with the other parameters, /calendar/feeds/[email/private-[key]/basic?futureevents=true&max-results=100 to /calendar/feeds/[email/private-[key]/basic?futureevents=true&max-results=100&hl=en.

Advertisements

Lisa kommentaar »

Kommentaare veel pole.

RSS feed for comments on this post. TrackBack URI

Lisa kommentaar

Täida nõutavad väljad või kliki ikoonile, et sisse logida:

WordPress.com Logo

Sa kommenteerid kasutades oma WordPress.com kontot. Logi välja / Muuda )

Twitter picture

Sa kommenteerid kasutades oma Twitter kontot. Logi välja / Muuda )

Facebook photo

Sa kommenteerid kasutades oma Facebook kontot. Logi välja / Muuda )

Google+ photo

Sa kommenteerid kasutades oma Google+ kontot. Logi välja / Muuda )

Connecting to %s

Blog at WordPress.com.