Normal process for this is to create an issue in the GitHub core repo. Usually requests like this get resolved pretty quickly
On 12/12/2015 01:52 PM, Josef Meile wrote: > Yes, I'm aware that it is a private API, but since the public one didn't > included a function to do this, I was forced to use forceLanguage. > Unfortunately, I can't move on. I still need to call a function that does > this. > > > > Actually, it would be nice if the public API include a public method for the > l10n that does this. > > > > In my case, I need it because my app isn't translated in all languages that > ownCloud uses and also in my institution, only English and German are > relevant. > > > > > >> Not a fix suggestion but an explanation: your app broke because you've >> used private APIs. Nothing unusual here, move on ;) > > >> On 12/12/2015 12:35 PM, Josef Meile wrote: >>> Dear list >>> >>> My app: AgreeDisclaimer got broken with Owncloud 8.2.1 because the > static > >>> function: "OC_L10N::forceLanguage" was removed: > <https://github.com/owncloud/core/commit/6b53f7c40e8bbaecfa20a3b19b3164e3329 > 0> > https://github.com/owncloud/core/commit/6b53f7c40e8bbaecfa20a3b19b3164e33290 > >>> 3f59 >>> >>> I agree that static functions are ugly, but before there wasn't any > other > >>> way of achieving this. >>> >>> I still need to force owncloud's language to a predefined set of > languages > >>> on my app. I do this in my app: >>> $container = $this->getContainer(); >>> $server = $container->getServer(); >>> $this->l10n = $server->getL10N($this->appName, $language); >>> >>> However, it will set only the language for the application, but the rest > of > >>> ownCloud will use the browser preferred language. How can I force the >>> language for ownCloud? >>> >>> Thanks in advanced. >>> >>> Best regards >>> Josef >>> _______________________________________________ >>> Devel mailing list >>> <http://mailman.owncloud.org/mailman/listinfo/devel> Devel at > owncloud.org > >>> <http://mailman.owncloud.org/mailman/listinfo/devel> > http://mailman.owncloud.org/mailman/listinfo/devel > > > > > > > _______________________________________________ > Devel mailing list > [email protected] > http://mailman.owncloud.org/mailman/listinfo/devel _______________________________________________ Devel mailing list [email protected] http://mailman.owncloud.org/mailman/listinfo/devel
