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

Common Global Message Provider #1

Open
CubBossa opened this issue Jan 12, 2024 · 1 comment
Open

Common Global Message Provider #1

CubBossa opened this issue Jan 12, 2024 · 1 comment

Comments

@CubBossa
Copy link
Owner

Each shaded TinyTranslation will create its own GlobalTranslator instance. This is okay, but it would be very good if actually the highest version of those instances serves as global and the other globals connect to it via any communication system. They cannot simply reference each other because they technically are different classes. They should, however, be always all be able to parse the latest syntax. What happens in the plugin directory does not be up to date

@CubBossa
Copy link
Owner Author

global messages should not be part of base, while a "proxy implementation" should be that only redirects to message service. For message service, JMS comes handy.
Platform implementation then creates the according server Translations instance (no longer global) based on uuids, and server translations can then again be linked, for example via database. Sounds overkill and is definitely overkill, but only then, the editing of a shared file like in /lang/global_styles.properties makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant