build

Builds and returns a new immutable map of strings and TranslationSource objects based on the current state of the sources map.

This method creates a new immutable map of strings and TranslationSource objects using the entries of the sources map. It then returns this map to the caller. The method can be used to retrieve the registered translation sources for different languages. The method does not modify the sources map or affect its state. The method does not throw any exceptions.

Return

a new immutable map of strings and TranslationSource objects based on the current state of the sources map.