Bug: Translation Function not supported in Frappe UI

I am facing an error when trying to translate any string in my frontend app built on frappe-ui components. Does Frappe UI provide trasnlation utility ‘__()’ just like the javascript in the frappe framework?

I am getting this error when using the ‘__()’ fucntion inside my vue pages or components inside the frontend folder:

TypeError: s.__ is not a function at Proxy.ze (Home.vue:28:14)

sample of my usage in the template:
{{ __(‘Payment Schedules’) }}