mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Add Vietnamese translation (#10929)
* Add Vietnamese localization file for OrcaSlicer * add Vietnamese po file * Add Vietnamese language support in GUI (#11000) - Added Vietnamese (vi_VN) to the language mapping in GUI_App.cpp. - Updated Preferences.cpp to include Vietnamese in the language combobox and display its name in Vietnamese (Tiếng Việt). --------- Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
@@ -6787,6 +6787,7 @@ wxString GUI_App::current_language_code_safe() const
|
||||
{ "tr", "tr_TR", },
|
||||
{ "pt", "pt_BR", },
|
||||
{ "lt", "lt_LT", },
|
||||
{ "vi", "vi_VN", },
|
||||
};
|
||||
wxString language_code = this->current_language_code().BeforeFirst('_');
|
||||
auto it = mapping.find(language_code);
|
||||
|
||||
Reference in New Issue
Block a user