I'm trying to upgrade Concentration Game to Drupal 10, and I am stuck on this:
The 'game_concentration' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
Does anyone have a good solution to set the translation language for all translations in the back-end in a central place?
Translations work on the front-office, but in cronjobs e.g. translations don't work unless you specify a langcode. Which is ok since there's no real way the code could determine what language would be needed. But it seems clunky and rigid that I have to hardcode "langcode" in all cronjob t()'s. It would be easier/more generic if you could set back-end language also somewhere centrally.
I am sharing here my experience for Creating Custom Service with custom(string) parameters. Here I will fetch data from a third party API and with display it.
For doing this We have to Create following files (for example I am creating custom module to create custom service).