Commit Graph

35 Commits

Author SHA1 Message Date
Simon Prévost
db052f111d Update deps 2024-10-09 21:49:38 -04:00
Simon Prévost
216f3ffb83 Modify the php - render blank line serializing 2024-08-13 16:25:52 -04:00
Simon Prévost
29249620bf Add simple php format 2024-08-13 13:02:26 -04:00
Simon Prévost
adc0c1a90e Fix duplicate key in json parse 2024-03-03 15:12:39 -05:00
Simon Prévost
ca99b09e54 Fix __KEY__ order, fix lint nil value, remove logger warning on abilities 2023-11-03 13:26:40 -04:00
Simon Prévost
d429b0b970 Add spelling lint check with LanguageTool integration 2023-09-29 20:11:14 -04:00
Simon Prévost
772a596794 Add @adobe/styler to format all Elixir code 2023-08-24 22:09:31 -04:00
Simon Prévost
773fd24f2a Fix gettext line break reject 2023-01-16 13:08:51 -05:00
Simon Prévost
40d37a4526 m1 stuff 2022-12-19 10:50:26 -05:00
Simon Prévost
78b2c65fe1 Add machine translations document translate 2022-03-15 06:18:21 -04:00
Simon Prévost
c937a2ace1 Fix value_type not set for some parsers 2020-11-25 18:01:32 -05:00
Simon Prévost
2b649acc88 Fix gettext multiline value serializing 2020-11-25 07:34:47 -05:00
Simon Prévost
13fceebf22 Add RESX 2.0 format 2020-07-08 10:52:28 -04:00
Simon Prévost
8c82eceaf4 Fix poison deps and entrypoint app name 2019-10-03 17:11:26 -04:00
Olafur Arason
fa6ff35d39 Add support for msgctxt (#118) 2019-08-23 12:09:04 -04:00
Simon Prévost
b992ac5215 Fix gettext header serializer 2019-08-14 18:30:10 -04:00
Simon Prévost
ae0df57dae
Add basic support for XLIFF 1.2 file format (#79)
![image](https://user-images.githubusercontent.com/464900/55203015-35c17980-51a0-11e9-8647-d91209c7b6de.png)

## Issue
📚 https://github.com/mirego/accent/issues/21

## Feature
This is a basic implementation of the XLIFF 1.2 format. This format is used heavily in a lot of translations related tool (and in XCode) so I may have missed some of the implementation details. But it’s a good start for someone who want to contribute to Accent 😉 

## Refactor
This format is a bit trickier than other since it required the master language to export the targets. We needed to refactor some module to use the master language in the serialization process. Also, not needed but cleaner, we wrap the document’s key `top_of_the_file_comment` and `header` inside a new struct `Language.Document`. This will become handy if we ever need to add an attribute to the document OR if we add a different attribute to the serialization input.

## Next steps
This format includes 2 new dependencies to handle XML encode and decode. _Why not use the same XML library used for the XML Android format?_ Because… \*drum roll\* The `<source>` XML tag when encoded by the `mochiweb_html` module is a self closing tag (per the HTML spec) 🥇 

Since those 2 new deps are required for the XLIFF format and can pretty print XML, we should use them _instead of `mochiweb`_ 🎉
2019-03-31 16:16:20 -04:00
Simon Prévost
fa55c9a543 Update deps and elixir/erlang version 2019-03-03 14:56:36 -05:00
Simon Prévost
0ba4d0474d wip 2019-01-09 08:01:19 -05:00
Simon Prévost
9a9b50e0d8 Add more tests and refactor scripts and endpoint 2019-01-06 22:41:53 -05:00
Simon Prévost
c6dbc084e1 Rename interpolations to placeholders 2018-12-12 19:57:34 -05:00
Benoit Ducharme
8ead83b52a Add interpolations to translation forms
Interpolations are strings automatically marked (based on the format) to
be replaced by the application at runtime. Those strings are meant to be
left unmodified and not translatable. The UI reflects that. The
interpolations shown to the user is always the master translation’s
ones. This is to clearly show on not translated content that maybe
interpolations uploaded after the correction were removed or added.
2018-12-12 19:57:34 -05:00
Simon Prévost
dbbadab99e Add Credo.Check.Readability.AliasOrder to credo config 2018-12-08 19:57:20 -05:00
Simon Prévost
971b440d7b Fix test 2018-09-10 07:54:21 -04:00
Simon Prévost
98be09df95 Remove useless comment empty string on every formatter expectations test 2018-09-10 07:54:21 -04:00
Simon Prévost
91114ba0dc Add Go i18n JSON document format 2018-09-10 07:54:21 -04:00
Simon Prévost
a4025cd0cf Add plural forms support for gettext serializer 2018-07-06 16:33:34 -04:00
Nicolas Boisvert
be950f5f0e laravel_php - Redone job in new branch 2018-06-08 16:59:28 -04:00
Simon Prévost
78d8c90ad9 Refactor langue tests setup and naming 2018-05-14 08:27:26 -04:00
Łukasz Jan Niemier
b3882e7bc5 Add support for CSV formatter
Issue #22
2018-05-11 07:34:04 -04:00
Łukasz Jan Niemier
d868bff0ad Write tests for new functionalities 2018-05-11 07:32:25 -04:00
Simon Prévost
ae6043e292 Add plural and locked state for translations 2018-04-27 08:49:50 -04:00
Simon Prévost
53d96bc6a6 Add float value type 2018-04-24 20:03:39 -04:00
Simon Prévost
d420bd0fbe Refactor operation and translation value_type to always have a value and handle string/empty/null etc 2018-04-23 21:43:15 -04:00
Simon Prévost
bca59c4caa Initial commit 💥 2018-04-05 16:47:36 -04:00