you can do what we do for docs, and just have a separate file per locale:

```python
PREINSTALL_TEST_PLAN_URL_PATH = 'docs/app-test-template/app_test_template/v1/'
```

```html
<a href="{{ media(PREINSTALL_TEST_PLAN_URL_PATH + '/en.xlsx') }}" download>...</a>
```

for example