Skip to content

Investigate multi-language capabilities #47

Open
@fifieldt

Description

Not everyone wanting to apply for the Gold Card can handle large blocks of English text. If we were to get a sufficient number of contributors who could write in a language other than English, it might be worth having the site available in other languages.

This is probably some time in the future, but in the meantime, perhaps we shouldn't do anything that would explicitly prevent a multi-language version of the site coming into existence :)

It looks like in hugo it's surprisingly straightforward.

For the content - just needs to be the same filename with a language tag and a bit of config
https://gohugo.io/content-management/multilingual/
https://regisphilibert.com/blog/2018/08/hugo-multilingual-part-1-managing-content-translation/

then there's a Language.lang element in the .Sites page property that can be use as a switch in templates for logic and an i18n shortcode that can use po files for template wording.

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions