OpenShot Video Editor  2.0.0
Namespaces | Functions | Variables
language.py File Reference

This file loads the current language based on the computer's locale settings. More...

Go to the source code of this file.

Namespaces

 language
 

Functions

def language.find_language_match
 Match all combinations of locale, language, and country. More...
 
def language.get_all_languages
 Get all language names and countries packaged with OpenShot. More...
 
def language.get_current_locale
 
def language.init_language
 Find the current locale, and install the correct translators. More...
 

Variables

string language.language_path = ":/locale/"
 

Detailed Description

This file loads the current language based on the computer's locale settings.

Author
Noah Figg eggmu.nosp@m.nkee.nosp@m.@hotm.nosp@m.ail..nosp@m.com
Jonathan Thomas jonat.nosp@m.han@.nosp@m.opens.nosp@m.hot..nosp@m.org

LICENSE

Copyright (c) 2008-2018 OpenShot Studios, LLC (http://www.openshotstudios.com). This file is part of OpenShot Video Editor (http://www.openshot.org), an open-source project dedicated to delivering high quality video editing and animation solutions to the world.

OpenShot Video Editor is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

OpenShot Video Editor is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with OpenShot Library. If not, see http://www.gnu.org/licenses/.

Definition in file language.py.