OpenShot Video Editor  2.0.0
Functions
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
 Get the current locale name from the current system. More...
 
def init_language
 Find the current locale, and install the correct translators. More...
 

Function Documentation

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

Match all combinations of locale, language, and country.

Definition at line 159 of file language.py.

def language.get_all_languages ( )

Get all language names and countries packaged with OpenShot.

Definition at line 177 of file language.py.

def language.get_current_locale ( )

Get the current locale name from the current system.

Definition at line 111 of file language.py.

def language.init_language ( )

Find the current locale, and install the correct translators.

Definition at line 42 of file language.py.