PHPackages                             ivoba/silverstripe-i18n-fieldtypes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. ivoba/silverstripe-i18n-fieldtypes

ActiveSilverstripe-module[Localization &amp; i18n](/categories/localization)

ivoba/silverstripe-i18n-fieldtypes
==================================

better i18n fieldtypes for currency &amp; date

31141[1 PRs](https://github.com/ivoba/silverstripe-i18n-fieldtypes/pulls)PHP

Since Jan 5Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ivoba/silverstripe-i18n-fieldtypes)[ Packagist](https://packagist.org/packages/ivoba/silverstripe-i18n-fieldtypes)[ RSS](/packages/ivoba-silverstripe-i18n-fieldtypes/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

I18n Fieldtypes Extension Module
================================

[](#i18n-fieldtypes-extension-module)

Info
----

[](#info)

This module provides improved fieldtypes to handle Currency and Date for internationalization.
It lets you define your formats via translation files or static setters.

To enable the classes use:

```
Object::useCustomClass('SS_Datetime','I18nDatetime', true);

```

To set your formats, override the language file entries or set them directly like:

```
I18nDatetime::setFormatNice('%e. %B %G');

```

So you can easily customize the template methods like *Nice*, *NiceDate*, *Nice24* etc.
For currency values it adds a *Pure* method, which formats the amount nicely but omits the symbol.
Also a *Raw* wrapper is provided to unify the access to the unformatted value.

For the Money class, which uses Zend Money, use a setter and a options array:

```
Object::useCustomClass('Money','I18nMoney', true);
//@see http://framework.zend.com/manual/en/zend.currency.options.html
I18nMoney::setOptions(array('display' => Zend_Currency::USE_SHORTNAME,
  			'position' => Zend_Currency::RIGHT));

```

---

Maintainer Contact
------------------

[](#maintainer-contact)

Ivo Bathke
see

Requirements
------------

[](#requirements)

SilverStripe 3.0.+

Installation Instructions
-------------------------

[](#installation-instructions)

1. copy folder to a i18n-fieldtypes folder in your SS3 installation.
2. copy configurations from this module's \_config.php file into mysite/\_config.php file and edit settings as required.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a281e7f725fbe1ea8de5835c34e19c649afe33c2a1fbf48188ccff1274165fb1?d=identicon)[ivoba](/maintainers/ivoba)

---

Top Contributors

[![ivoba](https://avatars.githubusercontent.com/u/471254?v=4)](https://github.com/ivoba "ivoba (6 commits)")

### Embed Badge

![Health badge](/badges/ivoba-silverstripe-i18n-fieldtypes/health.svg)

```
[![Health](https://phpackages.com/badges/ivoba-silverstripe-i18n-fieldtypes/health.svg)](https://phpackages.com/packages/ivoba-silverstripe-i18n-fieldtypes)
```

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1926.6k1](/packages/smmoosavi-php-gettext)[laradevs/spanish

labels translated to spanish

166.7k](/packages/laradevs-spanish)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
