Timestamps in other languages
Hello community, I would like to know if it is possible to get the formatted timestamps in other languages than English (i.e. Spanish).
For example instead of getting the response "monday 19th january" get "lunes 19 de enero".
I managed to do it manually but maybe there is a more direct way. I found this documentation so I know it's possible to do it outside of Xano.
Do you know if it's possible to do it through Xano?
Thanks in advance
Best Answers
-
Hi @Guillem - there isn't currently a way to do this with something like a filter in Xano. Given that that method is through php it makes me curious if it's possible to add though. I'll pass this along to the engineers for them to evaluate. But yes, for know it would be a translation that you would have to build custom in the function stack so I'm glad you figured out a solution.
I have an example tutorial on something similar in case someone else comes across this thread:
-
This is also possible today using luxon in the lambda in Xano. Here's how:
Answers
-
Thank you @Michael Udinski! it would be so good if we have it implemented!! Meanwhile I’m going to do it building a custom function like you do in the video, in fact it’s a better solution than mine, thanks!!
-
It seems so good @Ray Deck! I'm gonna learn more about it, thank you!
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback