add lang attribute to locale select options

This commit is contained in:
KDSBrowne 2023-07-15 15:51:22 +00:00
parent 937d18b192
commit e73110be30

View File

@ -70,7 +70,7 @@ class LocalesDropdown extends PureComponent {
});
return (
<option key={localeItem.locale} value={localeItem.locale}>
<option key={localeItem.locale} value={localeItem.locale} lang={localeItem.locale}>
{localeItem.name}{localizedName && ` - ${localizedName}`}
</option>
);