Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jul 12, 2013
Commits on May 23, 2013
Commits on May 22, 2013
  1. @philipa

    Translation aliases: keywords in place of a translation are resolved …

    philipa authored
    …recursively. This allows several keys to refer to the same translation.
Commits on Mar 28, 2013
  1. Fix tests for 7bf9dc1 commit

Commits on Mar 13, 2013
Commits on Oct 26, 2012
Commits on Oct 9, 2012
  1. Remove (undocumented, experimental) `t*`. Integrate functionality int…

    …o `t`.
    As per suggestion by Janne Asmala, first non-keyword entry in `t`'s `ks` will
    be used as explicit translation fallback:
    `(t :invalid)` => Logs missing key; returns `:missing` translation when available.
    `(t [:invalid "foo"])` => Does NOT log missing key; Returns "foo".
Commits on Oct 5, 2012
  1. BREAKING: Refactored `t`, removed `missing-translation-fn` config option

    * Misc. housekeeping, simplification, performance tweaking, bug fixes.
    * As per suggestion by Janne Asmala, translation fn now supports vector keys as a
    fallback mechanism (see README). When present, fallback keys take precedence over
    fallback locales.
    * Refactored translation fn to handle fallback more gracefully in general. In
    particular, added support for per-locale `:missing` keys.
    * Replaced `:missing-translation-fn` config option with `:log-missing-translation!-fn`.
    The translation key search is now flexible enough to make this extra complication
    unnecessary. Have kept the logger configurable for people that don't want to use
    * Added `t*`. Like `t` but ignores missing keys.
Commits on Oct 4, 2012
  1. Housekeeping

Commits on Oct 2, 2012
Commits on Oct 1, 2012
  1. BREAKING: Clean up translation decorators

    * Remove `:dictionary-compiler-options` config option.
    * Translation strings are escaped and parsed as inline Markdown
      unless suffixed with `!` (or `_html`).
Commits on Aug 31, 2012
  1. BREAKING: Change dictionary key format again (sorry!)

    Dictionary keys now standard Clojure namespaced keywords: :a.b.c.d/key, :key, etc.
Commits on Aug 30, 2012
  1. Clean up new tests

  2. Add translation tests

Commits on Jul 16, 2012
  1. @ifesdjeen
Commits on Jul 12, 2012
Something went wrong with that request. Please try again.