NordicMuseum / Nordic-Museum-Audio-Guide

An inclusive audio guide for The Nordic Museum
https://nordicmuseum.github.io/Nordic-Museum-Audio-Guide/
MIT License
14 stars 6 forks source link

separate interface & content strings in localization data #16

Closed Ambrosiani closed 5 years ago

Ambrosiani commented 5 years ago

data/strings.js contains both interface & content strings. Ideally we should separate these and move the content strings into the tourJSON model.

sticknor commented 5 years ago

Plan to remove unused fields from tour stop model (except transcripts which is a future goal)

sticknor commented 5 years ago

@RubenSandwich @Ambrosiani Considering that some audio content is included in multiple tourStops, I divided our content into 3 categories:

See the three output files here. Translations are written directly into each file.

I've created them in JSON, which I think will be easier to edit by hand. Also, JSON can be exported from Google Sheets.

Did this with a node script, so I'll need to verify everything was copied over correctly! Additionally, we can make changes to the structure as you see fit.

Ambrosiani commented 5 years ago

@sticknor awesome! There's some museum specific content in the UIStrings, let's look at how to split that file on Wednesday.