Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localised prototype data #58

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

stevenday
Copy link

Related to #57 - this is additional localisation work we've been doing at Open Ownership to make the following sites:

We've sketched out a spreadsheet-based substitution method for localising the prototype data, where we've got some folks with locale-specific expertise to adapt the data to their contexts and then created duplicates of the BODS/OCDS files with these modifications made to them. There's a new management command to actually make the changes, plus some modifications to the data loading scripts so that if you've set a LANGUAGE_CODE setting, it'll look for the appropriate prototype data.

I think this is probably a bit too rough and ready for inclusion as-is, but in the spirit of sharing, I'll let you be the judge! There's no documentation as yet, but I can add some and tidy this up if it's interesting - it's still a bit of a manual process.

Steve Day added 7 commits November 25, 2020 13:30
Takes a series of CSV files with replacement text for the various
names and strings in the prototype data, plus a locale to write
them to
I've moved the existing en and es prototype data into subfolders and
updated the management/fixture loading commands to include the current
LANGUAGE_CODE setting in the path they look for prototype data. This
allows us to load different prototype data with moving data around
manually.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant