private static void ReplaceFontForLocalization(LocalizedEditorFontManager.FontDictionary dict, Font font)
 {
     if (dict.ContainsKey(font.name))
     {
         font.fontNames = dict[font.name].fontNames;
         font.hideFlags = HideFlags.HideAndDontSave;
     }
 }
 public static void LocalizeEditorFonts()
 {
     LocalizedEditorFontManager.ReadFontSettings();
     LocalizedEditorFontManager.FontDictionary fontDictionary = LocalizedEditorFontManager.GetFontDictionary(LocalizationDatabase.currentEditorLanguage);
     if (fontDictionary != null)
     {
         LocalizedEditorFontManager.ReplaceFontForLocalization(fontDictionary, (Font)EditorGUIUtility.LoadRequired(EditorResourcesUtility.fontsPath + "Lucida Grande.ttf"));
         LocalizedEditorFontManager.ReplaceFontForLocalization(fontDictionary, (Font)EditorGUIUtility.LoadRequired(EditorResourcesUtility.fontsPath + "Lucida Grande Bold.ttf"));
         LocalizedEditorFontManager.ReplaceFontForLocalization(fontDictionary, (Font)EditorGUIUtility.LoadRequired(EditorResourcesUtility.fontsPath + "Lucida Grande Small.ttf"));
         LocalizedEditorFontManager.ReplaceFontForLocalization(fontDictionary, (Font)EditorGUIUtility.LoadRequired(EditorResourcesUtility.fontsPath + "Lucida Grande Small Bold.ttf"));
         LocalizedEditorFontManager.ReplaceFontForLocalization(fontDictionary, (Font)EditorGUIUtility.LoadRequired(EditorResourcesUtility.fontsPath + "Lucida Grande Big.ttf"));
     }
 }