All Versions
26
Latest Version
Avg Release Cycle
108 days
Latest Release
-
Changelog History
Page 3
Changelog History
Page 3
-
v0.9.0 Changes
- ๐ Strip
##
comments from POT files when they're being merged into PO files; these comments are comments meant to be generated by tools or directed at developers (so they have no use for translators in PO files). - โ Add informative comments at the top of newly generated PO/POT files.
- โ Add
Gettext.known_locales/1
- ๐ Fix a bug with PO parsing when the PO file starts with a BOM character (which broke the parser, now a warning is issued).
- ๐ Strip
-
v0.8.0 Changes
- ๐ Fix a bug with the
*gettext
macros, which raised an error when given compile-time strings in the form of~s
/~S
sigils. - Create missing locale directories (for example,
en/LC_MESSAGES
) when running thegettext.merge
Mix task. - ๐ Fallback to default translations (that is, the
msgid
) when themsgstr
(or one or moremsgstr
strings for plural translations) is empty.
- ๐ Fix a bug with the
-
v0.7.0 Changes
- When dumping PO files, dump as many references as possible on one line, wrapping at the 80th column
- ๐ Parse multiple references in the same reference comment
- โ Remove
Gettext.locale/0-1
andGettext.with_locale/2
in favour ofGettext.get_locale/1
,Gettext.put_locale/2
, andGettext.with_locale/3
which now work by setting/getting the locale on a per-backend basis (instead of a global one) - โ Remove the
:default_locale
config option for the:gettext
application in favour of configuring the:default_locale
for backends tied to their:otp_app
(for example,config :my_app, MyApp.Gettext, default_locale: "pt_BR"
)
-
v0.6.1 Changes
- ๐ Fix a bug with the
mix gettext.merge
task that was failing in Elixir v1.1.1 because0.5 in 0..1
returnsfalse
with it
- ๐ Fix a bug with the
-
v0.6.0 Changes
- โ Add a
:flags
field to theGettext.PO.Translation
andGettext.PO.PluralTranslation
structs - โ Add support for fuzzy matching translations in
gettext.merge
andgettext.extract --merge
- โ Add the
:fuzzy_threshold
configuration option for the:gettext
application
- โ Add a
-
v0.5.0 Changes
- ๐ Initial release