Closed occupant23 closed 4 months ago
@georgkunze: Please create a separate branch(from dev) for this. Please add unit tests similar to the ones for isSite
.
@georgkunze Please add/adjust the documentation for this feature and add a comment here wehen done.
@occupant23 documentation is done in the isLocale branch of the wiki.
@wurzelkuchen Please review
Add a function to verify if the current configured locale matches one from a given list of locales. Build the function analog to
Neodymium.isSite(String... sites)
a function that checks the locale.Function signature should look like this:
Neodymium.isLocale(String... locales)