mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-26 07:22:44 +00:00
add a few language tags with subtags
This commit is contained in:
@@ -247,7 +247,7 @@ const MetadataEditor = createClass({
|
||||
},
|
||||
|
||||
renderLanguageDropdown : function(){
|
||||
const langCodes = ['en', 'de', 'fr', 'ja', 'es', 'it', 'sv', 'ru', 'zh'];
|
||||
const langCodes = ['en', 'de', 'de-ch', 'fr', 'ja', 'es', 'it', 'sv', 'ru', 'zh-Hans', 'zh-Hant'];
|
||||
const listLanguages = ()=>{
|
||||
return _.map(langCodes.sort(), (code, index)=>{
|
||||
const languageNames = new Intl.DisplayNames([code], { type: 'language' });
|
||||
|
||||
Reference in New Issue
Block a user