add tag
निरंजन
The following code works without any problems:

```
\documentclass{article}
\RequirePackage[provide*=*]{babel}
\babelprovide[%
  onchar = {ids fonts},%
  main,%
  import%
]{marathi}

\begin{document}
hello world
\end{document}
```

but, if one translates it to LaTeX3 syntax, it fails:

```
\documentclass{article}

\ExplSyntaxOn
\RequirePackage [ provide * = * ] { babel }
\babelprovide [
  onchar = { ids~ fonts },
  main,
  import
] { marathi }
\ExplSyntaxOff

\begin{document}
hello world
\end{document}
```

Seems like the files that are loaded are incompatible with the LaTeX3 syntax, but if such a code is supposed to be inside packages (especially the ones that start with `\ProvidesExplPackage`), what should one do?

(Btw, one _needs_ LaTeX3 as there are wrapper functions for doing this.)

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.