﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29944	Can't translate URL if activated language is different than the URL's	Filip Kucharczyk	nobody	"What I'm trying to achieve:
- Translate English URL to a different language, when activated language is different than English

{{{
from django.urls import translate_url
from django.utils.translation import activate

url = '/en/'

# Translating english url with german language activated fails
activate('de')
print(translate_url(url, 'de'))  # '/en/'

# Works just fine with english language activated
activate('en')
print(translate_url(url, 'de'))  # '/de/'
}}}

Not sure if this ticket is valid as `translate_url` is not documented by the official docs, might be I'm using it wrongly?"	Bug	new	Internationalization	2.1	Normal				Unreviewed	0	0	0	0	0	0
