2018-01-24 17:43:35 -06:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import os
|
|
|
|
import gettext
|
|
|
|
import locale
|
|
|
|
from platform_utils import paths
|
|
|
|
|
|
|
|
def setup():
|
2018-02-27 13:41:18 -06:00
|
|
|
lang = locale.getdefaultlocale()[0]
|
|
|
|
os.environ["lang"] = lang
|
|
|
|
gettext.install("musicdl", localedir=os.path.join(paths.app_path(), "locales"))
|