serge-community / serge

Continuous localization platform
https://serge.io/
Other
237 stars 53 forks source link

msgctxt keyword for each string #111

Closed zhukic closed 5 years ago

zhukic commented 5 years ago

Hi.

I use Serge in conjunction with Smartcat translation server.

Is it possible to add all identifiers with msgctxt keyword for each string into all .po files because Smartcat requires msgctxt to show id along with source string as shown below ("Select" - source string, "intro_common_choose" - id)? image

Thanks.

iafan commented 5 years ago

This is something that will be handled by https://github.com/evernote/serge/issues/89

Note that there are users that paired Serge with Smartcat, and this setup works just fine. So exposing all keys as msgctxt is not actually required (e.g. sync won't break).

Btw, does Smartcat show the developer comments from the .po? This is where all extracted keys currently show up by default.

zhukic commented 5 years ago

Yes, Smartcat shows the developer comments from .po files, but the way Smartcat does it is not convenient. For each string, you need to click some button to see the comments while msgctxt appears right below the source string.

Thanks.