Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic association of screenshots with string ids #11354

Open
mikedawson opened this issue Apr 5, 2024 · 4 comments
Open

Automatic association of screenshots with string ids #11354

mikedawson opened this issue Apr 5, 2024 · 4 comments
Labels
enhancement Adding or requesting a new feature. undecided These features might not be implemented. Can be prioritized by sponsorship.

Comments

@mikedawson
Copy link

Describe the problem

I really appreciate the screenshot feature in weblate - it is very helpful to provide critical context for translators. I screenshot new strings in context as I add them to my project.

What is a bit frustrating is that afterwards I have to onto weblate and add the screenshots one by one.

Describe the solution you would like

If I add a new screenshot to the repository under the path specified screenshot path (e.g. as per project settings / Screenshot file mask ), where the name matches the string id e.g. string_id.png , then automatically associate this screenshot with the string id.

Describe alternatives you have considered

Adding screenshots manually one by one.

Screenshots

No response

Additional context

No response

@nijel
Copy link
Member

nijel commented Apr 5, 2024

There is OCR feature that might be helpful to associate strings, see also #9467

But yes, some kind of automatic association makes sense, the problem I see is that it's typically one screenshot for several strings, so there should be more than just a single string ID in the filename...

@mikedawson
Copy link
Author

mikedawson commented Apr 5, 2024

In our case, we are uploading one screenshot per string (even where it's a single screen, I am highlighting strings). I can see why some would use a single screenshot for multiple strings.

Simple workaround; if someone wants to link a screenshot to more than one string id (or a string id other than the file name)- one could have a small text file e.g. filename.png.stringids

string_id1 [lang1] [lang2]
string_id2 [lang1] [lang2]

The OCR feature is definitely neat, and I can see how it would be useful if one is trying to catch up and link things. In our case, we are maintaining this as we go because we recognize that the screenshots are vital to help translators understand context (especially in languages where computer terminology is not well defined).

@nijel nijel added enhancement Adding or requesting a new feature. undecided These features might not be implemented. Can be prioritized by sponsorship. labels Apr 10, 2024
Copy link

This issue has been put aside. It is currently unclear if it will ever be implemented as it seems to cover too narrow of a use case or doesn't seem to fit into Weblate.

Please try to clarify the use case or consider proposing something more generic to make it useful to more users.

@tomkolp
Copy link
Contributor

tomkolp commented Apr 19, 2024

In our case, there are several strings/dozen strings in one screenshot. We don't use the screenshot feature entirely because adding a million screenshots manually would take several years. Currently, it takes several minutes to add one screenshot. It would be ideal if weblate would automatically match the screenshot for a larger number of strings. I don't know if it's technically possible at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding or requesting a new feature. undecided These features might not be implemented. Can be prioritized by sponsorship.
Projects
None yet
Development

No branches or pull requests

3 participants