Marco Bonetti
Marco Bonetti
I recognize this could be an interesting feature but don't have the bandwidth to implement it, at the moment. If anyone feels like taking on this development, please get in...
Rosetta sends a post_save signal, [here](https://github.com/mbi/django-rosetta/blob/develop/rosetta/views.py#L393) (definition [here](https://github.com/mbi/django-rosetta/blob/develop/rosetta/signals.py#L8)), right after a block of data was saved to disk. You could potentially write a signal handler that uploads to S3 right...
Right, here are the challenges I see, to implement this feature: 1. Under the hood, Rosetta uses the [polib](https://github.com/izimobil/polib) library to read and write PO and MO files. The "default"...
PS: also worth mentioning: maybe it'd be much easier to mount an S3 bucket as a local filesystem with e.g. [s3-fuse](https://github.com/s3fs-fuse/s3fs-fuse), then have Rosetta think it's dealing with local paths...
> Django has this system built-in already with backends available for S3 and many others. https://docs.djangoproject.com/en/3.2/ref/files/storage/ Not quite, by default Django only handles in local files, IIRC, but [django-storages](https://django-storages.readthedocs.io/en/latest/) would...
> What sort of functionality does Rosetta require beyond the standard read/write/list files where an additional abstraction would be necessary? In my experience, you can count on django-storages providing all...
To answer the original request, the way I'd implement this is by defining a new setting, e.g. `ROSETTA_LINK_OCCURRENCES` which should be a callable taking the occurrence string (e.g. `"templates/test.html:3"`) and...
I'll be relaying on a community PR to get this implemented, as the only documentation for the mentioned service seem to be in Russian language.
Hi Peter! > From my understanding, Rosetta is more or less a nice front-end to manipulate .po files, extracted by Python's gettext module integrated in Django. That's correct: Rosetta's main...
Having a compendium is only the first step. We'd also need an intelligent way of matching past translations from the compendium and produce fuzzy suggestions in the PO catalog being...