OpenShot Video Editor  2.0.0
Functions | Variables
language Namespace Reference

Functions

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

Variables

string language_path = ":/locale/"
 

Function Documentation

def language.find_language_match (   prefix,
  path,
  translator,
  locale_name 
)

Match all combinations of locale, language, and country.

Definition at line 131 of file language.py.

def language.get_all_languages ( )

Get all language names and countries packaged with OpenShot.

Definition at line 142 of file language.py.

def language.get_current_locale ( )

Definition at line 158 of file language.py.

def language.init_language ( )

Find the current locale, and install the correct translators.

Definition at line 50 of file language.py.

Variable Documentation

tuple language.language_path = ":/locale/"

Definition at line 42 of file language.py.