This website requires JavaScript.
Explore
Help
Sign in
gooberinc
/
volta
Watch
3
Star
0
Fork
You've already forked volta
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
628de5f76e
volta
/
example.py
5 lines
94 B
Python
Raw
Normal View
History
Unescape
Escape
warning for some people who might submit a pull request in the wrong repo
2025-07-06 21:42:44 +02:00
from
main
import
_
Initial Commit
2025-07-06 21:14:47 +02:00
sliently fallback + add a fallback key in example.py and en.json but NOT it.json
2025-07-06 21:55:51 +02:00
print
(
_
(
"
hello_key
"
)
)
if key doesnt exist in en.json and is used as a fallback return missing key
2025-07-07 12:24:08 +02:00
print
(
_
(
"
fallback_key
"
)
)
print
(
_
(
"
thisdoesntexist
"
)
)
Reference in a new issue
Copy permalink