How to use i18next with KeystoneJS

454 views Asked by At

I want to be able to translate labels for models in KeystoneJS.

What is the best strategy to use i18next and keystone?

var keystone = require('keystone'),
    Types = keystone.Field.Types;

Driver = new keystone.List('Driver', {
    label: i18n.t("Drivers"),
});
0

There are 0 answers