We have a language field for the Story model, but we're not using it yet on the front end. Let's add it to the story cards on the Terrastories sidebar, per the acceptance criteria below.
Acceptance criteria:
[ ] If language is set for a story, add a <p> tag underneath the video with **Language:** [value] in the story card
[ ] If language is not set for a story, do not add a <p> tag.
[ ] Use language translation from the i18n locales in config/locales.
Context:
We have a
language
field for the Story model, but we're not using it yet on the front end. Let's add it to the story cards on the Terrastories sidebar, per the acceptance criteria below.Acceptance criteria:
language
is set for a story, add a<p>
tag underneath the video with**Language:** [value]
in the story cardlanguage
is not set for a story, do not add a<p>
tag.language
translation from the i18n locales inconfig/locales
.Assets