-
Notifications
You must be signed in to change notification settings - Fork 92
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
Replace deprecated translation methods #6149
Comments
The old APIs still work, but we're moving most apps to the TaskProcessing API now, so the old APIs will not be used by most providers anymore. |
Do you think we need to keep both APIs in parallel then or just just migrating to the new one fine? |
I would just migrate to the new one directly. |
Notes from chat with Marcel:
|
Hey there, The testing app now has a task processing translation provider: More details on how to run translation tasks and get the available languages in the |
Error: lib/Service/InitialStateProvider.php:28:3: DeprecatedInterface: Interface OCP\Translation\ITranslationManager is marked as deprecated (see https://psalm.dev/152)
Error: lib/Service/InitialStateProvider.php:62:4: DeprecatedClass: Class OCP\Translation\LanguageTuple is marked as deprecated (see https://psalm.dev/098)
https://github.com/nextcloud/documentation/pull/12063/files#diff-aaf8198084ab58336e1610260ae3ca96a1afee796cb21a305d03f2bf442948ea
nextcloud/server#46775
@marcelklehr Do the old APIs still work or do we need to move this for 30?
The text was updated successfully, but these errors were encountered: