Created
May 12, 2011 03:39
-
-
Save andymckay/967889 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tower/__init__.py b/tower/__init__.py | |
index e02ff34..559d504 100644 | |
--- a/tower/__init__.py | |
+++ b/tower/__init__.py | |
@@ -135,6 +135,7 @@ def _activate(locale): | |
pass | |
django_trans._translations[locale] = t | |
+ django_trans._translations[t.to_language()] = t | |
return t |
Might just be :) If this fixes it, there should be a bigger change that we need to do to the way tower handles translations imho.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LOL, it always comes down to 1 line of code, eh? #yakshaving !