public static LanguageExportWindow ShowWindow(SmartCultureInfo chosenCulture)
        {
            LanguageExportWindow thisWindow = (LanguageExportWindow)EditorWindow.GetWindow <LanguageExportWindow>("Export");

            thisWindow.Initialize(chosenCulture);
            return(thisWindow);
        }
        public SmartCultureInfo DrawAvailableLanguageItem(Rect position, SmartCultureInfo info)
        {
            if (info.englishName != "ROOT")
            {
                float fullWindowWidth = position.width;
                Rect  newPosition     = position;
                newPosition.width = fullWindowWidth * 0.4f;
                GUI.Label(position, info.englishName + " - " + info.languageCode);

                float buttonWidth = fullWindowWidth * 0.2f;
                buttonWidth = Mathf.Clamp(buttonWidth, 70, 120);

                newPosition.width = buttonWidth;
                newPosition.x     = fullWindowWidth - buttonWidth;

                if (GUI.Button(newPosition, "Update"))
                {
                    LanguageUpdateWindow.ShowWindow(info, this);
                }
                newPosition.x -= buttonWidth;
                if (GUI.Button(newPosition, "Export"))
                {
                    LanguageExportWindow.ShowWindow(info);
                }
                newPosition.x -= buttonWidth;
                if (GUI.Button(newPosition, "Translate"))
                {
                    OnTranslateButtonClick(info);
                }
            }
            else
            {
                position.width += 28;
                if (GUI.Button(position, "Edit Root Language File"))
                {
                    OnRootEditClick();
                }
            }
            return(info);
        }