freeCodeCamp / COM1000

freeCodeCamp's deprecated challenge editor
19 stars 16 forks source link

Add translations field #62

Open BerkeleyTrue opened 8 years ago

BerkeleyTrue commented 8 years ago

challenges now have a property

{ "translations": Object }

It's keys are IETF language tags. for example...

  "translation": {
    "es": {
      "title": "Challenge TItle",
      "description": [ "line 1" ]
    },
   "pt-PR": ...

The old method of having challenges at the top level will be removed

benmcmahon100 commented 8 years ago

@BerkeleyTrue This is literally the best! Awesome! This'll make their implementation a lot easier!

BerkeleyTrue commented 8 years ago

https://github.com/FreeCodeCamp/FreeCodeCamp/pull/7430/commits/d2b4b4c9025cbad8d2250501673fec3e8492005c