Support changing the locale
- Lingua principale
- TypeScript
- Stelle
- 7
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Currently there is no way to change the locale with the dev-harness. Seems like everything is in place for it, but there's no UI yet.
```tsx
/* AppHeader/index.tsx */
import React, { ChangeEvent } from 'react';
import { Box, MenuItem, TextField } from '@alteryx/ui';
/* ... */
const AppHeader = (props: IAppHeaderProps): JSX.Element => {
/* ... */
const handleChangeLocale = (event: ChangeEvent): void => {
handleSetLocale(event.target.value);
};
return (
/* ... */
{localeOptions.map(option => (
{option.primary}
))}
)}
label={Locale}
labelPlacement="start"
/>
/* ... */
);
};
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.