11-11-2018 13:50
11-11-2018 13:50
I've seen a few posts on have the settings page in different languages but i've not seen an definitive answer on the best way to do this.
if i get the user setting for the language and save it can we not simply call the correct array with the text in and settings with -lang on the end ? that way the array is easy to amend adding more is easy too ?
function mySettings(props) {
return (
<Page>
{options.map(([title, settingsKey]) =>
<Section
title={title}>
<ColorSelect
settingsKey={settingsKey}
colors={colorSet-en_gb} />
</Section>
)}
</Page>
);
}
Best Answer11-12-2018 04:23
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
11-12-2018 04:23
Hello @sleedoh,
I found this open source app, Forecast Time by @Cmspooner, by the way really nice, that offers settings in different languages. Give it a look!