Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
import statements added for i18n
shaifali
Sep 24th, 2014
281
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
from oslo import i18n
_translators = i18n.TranslatorFactory(domain='glanceclient')
# The primary translation function using the well-known name "_"
_ = _translators.primary
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
15 sec ago | 15.14 KB
Untitled
2 hours ago | 12.31 KB
oh-my-posh Script
JSON | 3 hours ago | 2.38 KB
Untitled
4 hours ago | 11.17 KB
Untitled
6 hours ago | 12.86 KB
Untitled
8 hours ago | 14.76 KB
Untitled
10 hours ago | 13.67 KB
Untitled
11 hours ago | 11.84 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!