Time relative in native language

Hi

I’ve got one simple question. I’m using the relative time sensor that gives me:
x hours ago
Is there a way to change “hours” to something else? like in my native language?

template:
  - sensor:
      - name: Uptime relative
        state: >-
          {{ states("sensor.uptime") | as_datetime | relative_time }}

Thanks

Have a look at the more than great Makros from Petro to simplify such tasks (including language support).