Support translation reorder arguments

Issue #684 closed
Xpol Wan created an issue

For example, in rhodecode/templates/search/search.html:6 there is a text:

Search \"%s\" in repository: %s

Lets say Search "abc" in repository: myrepo.

for translation it into zhCN, it requires the repository name to be at front:


So it is suggested to allow translation text reorder the arguments in both python and html files.

Thanks very much!

Comments (2)

  1. Marcin Kuzminski repo owner

    note: We need to change all positional formatting arguments to non-positional. eg change :

    Search \"%s\" in repository: %s


    Search \"%(term)s\" in repository: %(repo_name)s

  2. Log in to comment