Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -50,12 +50,13 @@ if lang is not None:
|
|
50 |
t_variant = lang.to_alpha3(variant='T')
|
51 |
st.write(f"ISO 639-3 'alpha3' code, 'terminology' variant (deprecated): {t_variant}")
|
52 |
st.write(f"ISO 639-3 'alpha3' code, 'bibliographic' variant (deprecated): {b_variant}")
|
53 |
-
st.write(f"If it exists, the
|
54 |
-
|
|
|
55 |
|
56 |
broader_tags = lang.broader_tags()
|
57 |
st.write(f"Broader tags for this language, if any: {broader_tags}")
|
58 |
st.write(f"Correct, standardized, BCP-47 tag for {langtext}, according to the langcodes library: {langcodes.standardize_tag(lang)}")
|
59 |
st.write(f"Try also: https://r12a.github.io/app-subtags/?lookup={lang}")
|
60 |
-
st.write(f"https://glottolog.org/glottolog?search={lang} may be of interest")
|
61 |
|
|
|
50 |
t_variant = lang.to_alpha3(variant='T')
|
51 |
st.write(f"ISO 639-3 'alpha3' code, 'terminology' variant (deprecated): {t_variant}")
|
52 |
st.write(f"ISO 639-3 'alpha3' code, 'bibliographic' variant (deprecated): {b_variant}")
|
53 |
+
st.write(f"If it exists, the ISO 639 Code Tables entry for the T variant would be at https://iso639-3.sil.org/code/{t_variant}")
|
54 |
+
st.write(f"If it exists, the ISO 639 Code Tables entry for the B variant would be at https://iso639-3.sil.org/code/{b_variant}")
|
55 |
+
|
56 |
|
57 |
broader_tags = lang.broader_tags()
|
58 |
st.write(f"Broader tags for this language, if any: {broader_tags}")
|
59 |
st.write(f"Correct, standardized, BCP-47 tag for {langtext}, according to the langcodes library: {langcodes.standardize_tag(lang)}")
|
60 |
st.write(f"Try also: https://r12a.github.io/app-subtags/?lookup={lang}")
|
61 |
+
st.write(f"https://glottolog.org/glottolog?search={lang} may be of interest, with links to Ethnologue, etc.")
|
62 |
|