Developer forum

Forum » Feature requests » A more user-friendly translation interface

A more user-friendly translation interface

Gaetan Di Caro
Reply

Hello !

After having used the "Translations" part of the Management Center a fair amount of times, I must say it can be fairly heavy to use. I thought about some ways to make it easier to manage.

  1. Give the possibility to search for a label either by its name, or by its content (text). Indeed right now it is nearly impossible for the end customer to go change a text themselves, as they don't know its name. And for the developer, it is much easier to just input the name of the label rather than scroll through all the labels in alphabetical order to find it.
  2. Add namespaces so we can organize the labels, and not worry about duplicate names. Right now I can just name my labels something like "ProductPage.xxx" if I want to, but it's not a real usable namespace, just a convention.
  3. Automatically generate translations entries (by parsing all the templates which are being used, for example). Right now I have to manually add every single translation I want to use in the interface. It is long and error-prone.

Just 1 and 2 would make the work immensly easier. Let me know if any of these already have a solution, I'm not an expert yet ;)

Thanks !


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Gaetan

Thank you for the suggested improvements - glad you gave it some thoughts!

@1: There are 2 windows for handling translation files - one in Management Center for creating the keys, and one in the content tree to translate the keys to the language of the current website. Both windows have a search box on top. See dumps 1-3. If you do not have the search box, then upgrade.

@2: Not sure I understand how - namespaces are just a convention, so it could be the same. It was discussed on a community meeting to allow for grouping the translation tags so you could have a group for cart, product page etc. - kind of the same thing?

@3: Yes, we could make that. I've added it to the product backlog.

Thank you for the great input!

Capture.PNG Capture2.PNG Capture3.PNG
 
Gaetan Di Caro
Reply

Thanks for your quick answer !

  1. Indeed, there is a search field ! I hadn't noticed it before, maybe because I only updated our version recenty, or because it is hard to see on the top right of my 27" monitor. In any case, thanks.
  2. I meant that basically, namespaces would be integrated as part of the translation interface, perhaps as another level below the website (see attached image). That would prevent having to see all the labels all the time. Having the translate function accept a namespace could also make it easier, like this : public string Translate(string namespace, string text, string defaultValue);. It could open the door to finer translation management in the future (ex : export this namespace to this website, etc).
  3. Great news !

Thank you !

translationnamespace.png