Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ gettext
Function
gettext
django/utils/translation/__init__.py:95–96 ·
view source on GitHub ↗
(message)
Source
from the content-addressed store, hash-verified
93
94
95
def
gettext(message):
96
return
_trans.gettext(message)
97
98
99
def
ngettext(singular, plural, number):
Callers
15
user_change_password
Method · 0.90
render_password_as_hash
Function · 0.90
clean_url
Method · 0.90
__str__
Method · 0.90
get_change_message
Method · 0.90
inline_formset_data
Method · 0.90
__init__
Method · 0.90
timesince
Function · 0.90
get_unique_error_message
Method · 0.90
get_date_error_message
Method · 0.90
get_form_error
Method · 0.90
yesno
Function · 0.90
Calls
no outgoing calls
Tested by
12
test_empty_value
Method · 0.72
test_safe_status
Method · 0.72
test_maclines
Method · 0.72
test_translation_loading
Method · 0.72
test_english_fallback
Method · 0.72
assertGettext
Method · 0.72
test_django_fallback
Method · 0.72
test_unknown_language_code
Method · 0.72
test_non_django_language
Method · 0.72
test_nofuzzy_compiling
Method · 0.72
test_fuzzy_compiling
Method · 0.72
test_added_stacked_inline_with_collapsed_fields
Method · 0.72