Popularity
5.1
Growing
Activity
0.0
Stable
8
3
3
Monthly Downloads: 24
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags:
Text
i18n alternatives and similar packages
Based on the "Text" category.
Alternatively, view i18n alternatives based on common mentions on social networks and blogs.
-
skylighting
A Haskell syntax highlighting library with tokenizers derived from KDE syntax highlighting descriptions -
double-conversion
A fast Haskell library for converting between double precision floating point numbers and text strings. It is implemented as a binding to the V8-derived C++ double-conversion library.
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Promo
www.influxdata.com
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of i18n or a related project?
README
i18n
A suite of tools for dealing with internationalisation in Haskell applications.
Usage
Library
-- Formatted for use in ghci.
:set -XOverloadedStrings
:{
import qualified Data.Text.I18n as I18n
import qualified Data.Text.I18n.Po as I18n
-- Setup i18n context.
(l10n, _) <- I18n.getL10n "./test/locale"
-- Add an example annotation.
let example = I18n.gettext "Like tears in rain."
-- Localise the example.
I18n.localize l10n (I18n.Locale "cym") example
:}
Development
Tasks
$ make help
clean Clean Haskell local packages
format Format Haskell source
help Print available tasks
install Compile Haskell binary
repl Launch ghci
spec Run the specs
watch Compile on file changes
Tests
$ make spec
Examples: 11 Tried: 11 Errors: 0 Failures: 0
Examples: 3 Tried: 3 Errors: 0 Failures: 0
shakespeare-2.0.8.2: test (suite: test)
i18n-0.4.0.0: test (suite: i18n-test)
Completed 2 action(s).