Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)
Return the display name of the locale using the given locale.

The display name will include the language, territory, script, and
variant, if those are specified.

>>> Locale('zh', 'CN', script='Hans').get_display_name('en')
u'Chinese (Simplified, China)'

:param locale: the locale to use

src/f/j/fjord-HEAD/vendor/packages/Babel/tests/test_core.py   fjord(Download)
    def test_get_display_name(self):
        zh_CN = Locale('zh', 'CN', script='Hans')
        assert zh_CN.get_display_name('en') == 'Chinese (Simplified, China)'
 
    def test_display_name_property(self):

src/z/e/ZenPacks.zenoss.OpenStack-HEAD/src/Babel-1.3/tests/test_core.py   ZenPacks.zenoss.OpenStack(Download)
    def test_get_display_name(self):
        zh_CN = Locale('zh', 'CN', script='Hans')
        assert zh_CN.get_display_name('en') == 'Chinese (Simplified, China)'
 
    def test_display_name_property(self):

src/b/a/Babel-1.3/tests/test_core.py   Babel(Download)
    def test_get_display_name(self):
        zh_CN = Locale('zh', 'CN', script='Hans')
        assert zh_CN.get_display_name('en') == 'Chinese (Simplified, China)'
 
    def test_display_name_property(self):