Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Localization support for Index generation #855

Open
brew opened this issue Dec 6, 2016 · 0 comments
Open

Localization support for Index generation #855

brew opened this issue Dec 6, 2016 · 0 comments
Milestone

Comments

@brew
Copy link
Collaborator

brew commented Dec 6, 2016

Following on from Index static site generation (#853), we also want to support localization.

Existing Metalsmith plugins for localization support:

gettext and format functions are passed to templates in the generation process here:

// Pass-through str for the moment. Can i18n-abide be used here?
gettext: function(str) {
return str;
},
// format function needs to be available in templates
format: i18n.format,

Note: localization of the Index will be greatly informed by work done on the Survey (#844)

@brew brew added this to the Index 2016 milestone Dec 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants