Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/McCloudS/subgen
/ to_name
Method
to_name
language_code.py:177–178 ·
view source on GitHub ↗
(self, in_english=True)
Source
from the content-addressed store, hash-verified
175
return
self.iso_639_2_b
176
177
def
to_name(self, in_english=True):
178
return
self.name_en
if
in_english
else
self.name_native
179
def
__str__(self):
180
if
self.name_en is None:
181
return
"Unknown"
Callers
6
detect_language
Function · 0.80
detect_language_from_upload
Function · 0.80
detect_language_task
Function · 0.80
define_subtitle_language_naming
Function · 0.80
should_skip_file
Function · 0.80
test_to_name_english
Method · 0.80
Calls
no outgoing calls
Tested by
1
test_to_name_english
Method · 0.64