Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,6 +32,7 @@ if lang is None:
|
|
| 32 |
except LookupError as e:
|
| 33 |
st.write(f"Unable to look up language code.")
|
| 34 |
st.write(f"Try also: https://r12a.github.io/app-subtags/")
|
|
|
|
| 35 |
lang = None
|
| 36 |
|
| 37 |
|
|
@@ -53,4 +54,5 @@ if lang is not None:
|
|
| 53 |
st.write(f"Broader tags for this language, if any: {broader_tags}")
|
| 54 |
st.write(f"Correct, standardized, BCP-47 tag for {langtext}, according to the langcodes library: {langcodes.standardize_tag(lang)}")
|
| 55 |
st.write(f"Try also: https://r12a.github.io/app-subtags/?lookup={lang}")
|
|
|
|
| 56 |
|
|
|
|
| 32 |
except LookupError as e:
|
| 33 |
st.write(f"Unable to look up language code.")
|
| 34 |
st.write(f"Try also: https://r12a.github.io/app-subtags/")
|
| 35 |
+
st.write(f"Try also: https://glottolog.org/glottolog?search={langtext}")
|
| 36 |
lang = None
|
| 37 |
|
| 38 |
|
|
|
|
| 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)}")
|
| 56 |
st.write(f"Try also: https://r12a.github.io/app-subtags/?lookup={lang}")
|
| 57 |
+
st.write(f"https://glottolog.org/glottolog?search={lang} may be of interest")
|
| 58 |
|