File anki-anki_lang.py.patch of Package anki

--- anki/lang.py.sav	2017-02-10 14:26:27.000000000 +0900
+++ anki/lang.py	2017-03-28 18:04:42.985569721 +0900
@@ -71,15 +71,7 @@
     return localTranslation().ungettext(single, plural, n)
 
 def langDir():
-    dir = os.path.join(os.path.dirname(
-        os.path.abspath(__file__)), "locale")
-    if not os.path.isdir(dir):
-        dir = os.path.join(os.path.dirname(sys.argv[0]), "locale")
-    if not os.path.isdir(dir):
-        dir = "/usr/share/anki/locale"
-    if not os.path.isdir(dir):
-        dir = "/usr/local/share/anki/bin/locale"
-    return dir
+    return "/usr/share/locale"
 
 def setLang(lang, local=True):
     trans = gettext.translation(
openSUSE Build Service is sponsored by