1. Marcin Kuzminski
  2. RhodeCode
  3. Issues

Issues

Issue #684 closed

Support translation reorder arguments

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:

在myrepo中搜索"abc"

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

    into:

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

  2. Log in to comment