Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -50,6 +50,8 @@ 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 |
broader_tags = lang.broader_tags()
|
54 |
st.write(f"Broader tags for this language, if any: {broader_tags}")
|
55 |
st.write(f"Correct, standardized, BCP-47 tag for {langtext}, according to the langcodes library: {langcodes.standardize_tag(lang)}")
|
|
|
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 Ethnologue entry would be at https://iso639-3.sil.org/code/{t_variant}")
|
54 |
+
|
55 |
broader_tags = lang.broader_tags()
|
56 |
st.write(f"Broader tags for this language, if any: {broader_tags}")
|
57 |
st.write(f"Correct, standardized, BCP-47 tag for {langtext}, according to the langcodes library: {langcodes.standardize_tag(lang)}")
|