madrobby / downtime

Standardized JSON API to indicate downtime for apps and services
MIT License
90 stars 4 forks source link

Multiple language support #12

Open neilstuartcraig opened 11 years ago

neilstuartcraig commented 11 years ago

Hi all

This is a great idea, i can see a centralised service and browser interactions to provide friendly messages to end users...that'd be great.

Anyway, my main reason for posting was to suggest that it might be a good idea to allow (perhaps optionally) inclusion of messages in multiple human languages. i am thinking of two main possibilities (aiming not to complicate the situation):

  1. Use one JSON file per language, perhaps named as per ISO language code. JSON files referenced in a directory file with site/URL & language -> filename mapping
  2. Amend the JSON structure to allow a subset or complete set of data per language

I'm really thinking of say larger API services which have end users/points in many languages.

Any thoughts?

Cheers Neil