Fork me on GitHub

Introduction

Basque language support for Java Locale-Sensitive Services SPI.

Note that Java supports basque language since JRE 11. This extension provides same behavior as JRE 23 for applications that cannot upgrade from Java 8.

A full, up-to-date, internalization with basque language support can be obtained using ICU4J. This option can be somewhat overkill for small projects that only require basque language support.

Maven coordinates

<project ...>
...
  <dependencies>
    ...
    <dependency>
      <groupId>dev.orne</groupId>
      <artifactId>basque-locale-extension</artifactId>
      <version>1.0.1</version>
    </dependency>
    ...
  <dependencies>
...
</project>

Usage

Nota that JRE uses Java Extension Mechanism to load Locale-Sensitive Services.

This means that including the library as project dependency is not enough to new languages support work.

The library must be included in the JRE installation's lib/ext/ directory, the shared /usr/java/packages/lib/ext directory (in Linux) or a custom directory configured through Java java.ext.dirs system property.

Features

The library implements all the Java Locale-Sensitive services:

  • LocaleServiceProvider
  • LocaleNameProvider
  • CalendarNameProvider
  • CalendarDataProvider
  • CurrencyNameProvider
  • TimeZoneNameProvider
  • BreakIteratorProvider
  • CollatorProvider
  • DateFormatProvider
  • DateFormatSymbolsProvider
  • DecimalFormatSymbolsProvider
  • NumberFormatProvider