inline ctx: register locales which have <script> localizations