Created attachment 450014 [details, diff] nls patch One of features of at-spi2-core-2.20.2 are nls support. Attaching ebuild patch, adding nls use flags.
Could you explain why you want nls optional ?
Adding nls use flag give the choice, to install or not install, the language files into /usr/share/locale Also other ebuild are using the nls use flag in similar way.
/usr/share/locale should be empty
You can do this by setting LINGUAS to "". Switching nls use flag in at-spi2-core does not seem to do anything to the library itself and adds extra complexity to the ebuild. We have not historically added this USE flag to Gnome components as it has failed multiple times in the past and was not supported in a consistent way.
Closing per comments. Only useful case for these is really for avoiding build-time gettext dependency or non-glibc libintl cases or something (what?). If we want to be correct for some weird reasons on that, we'd have to handle that globally and it all just feels really useless until a good reason is not provided for these patches. We'd pretty much have to grow these USE flags to all packages providing gettext catalogs then...