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 2w ago

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 25% 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

[smarty-gettext/smarty-gettext

Gettext plugin enabling internationalization in Smarty Package files

752.5M8](/packages/smarty-gettext-smarty-gettext)[devaslanphp/auto-translate

Auto generate translation JSON files

6627.3k](/packages/devaslanphp-auto-translate)[renatomarinho/laravel-multi-language

Laravel Multi Language

235.1k](/packages/renatomarinho-laravel-multi-language)

PHPackages © 2026

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