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
a09630f9b5
Fix fr translations
2024-08-13 11:17:17 -04:00
Simon Prévost
7b63fdc525
Update deps and add dialyzer
2024-08-13 11:17:17 -04:00
Simon Prévost
adc0c1a90e
Fix duplicate key in json parse
2024-03-03 15:12:39 -05:00
Nicolas Boisvert
754bf4dfbd
Bump php assoc map 3.0 ( #409 )
...
* laravel - Add base file for laravel's parser
* laravel - Done php file parsing, regex may not be perfect
* laravel - Add Laravel do documentation test and start writing tests
* laravel - Add first test
* laravel - Done serialization, regex must be revised
* laravel - Adjust regexp to get also nested quotes
* laravel - Escape double quotes on serialize
* laravel - Change privacy of parser's methods
* laravel - Change privacy of serializer's functions
* laravel - Done spec for serializer functions
* laravel - Add single quote escapes
* laravel - Passing double quotation test
* laravel - Rename test
* laravel - Adds prereplace for double quotes in string
* laravel - Fix Credo linting
* laravel - Formats files
* laravel - Lost conflit resolve
* laravel - Add missing quote in replace
* php-assoc - Implementing PHP-Assoc-Map library
* laravel - Move php assoc array handling to dedicated package
* laravel - Update unit test to reflect reality
* laravel - Formats files
* laravel - Rename back to laravel PHP to distinguish from any PHP structure
* laravel - Little rename remains
* laravel - Add base file for laravel's parser
* laravel - Done php file parsing, regex may not be perfect
* laravel - Add Laravel do documentation test and start writing tests
* laravel - Add first test
* laravel - Done serialization, regex must be revised
* laravel - Adjust regexp to get also nested quotes
* laravel - Escape double quotes on serialize
* laravel - Change privacy of parser's methods
* laravel - Change privacy of serializer's functions
* laravel - Done spec for serializer functions
* laravel - Add single quote escapes
* laravel - Passing double quotation test
* laravel - Rename test
* laravel - Adds prereplace for double quotes in string
* laravel - Add missing quote in replace
* laravel - Remove old file
* laravel - Remove old files
* Update php_assoc_map
---------
Co-authored-by: Nicolas Boisvert <nboisvert@armrecouvrement.com>
2024-02-04 14:34:03 -05:00
Simon Prévost
ebaa67ab36
Fix machine translation auto detect language
2023-11-23 14:24:36 -05:00
Nicolas Boisvert
605a03c67e
Bump PHP Assoc map ( #389 )
...
* Bump PHP Assoc map
* Fix CI
* Remove useless spaces
* Remove useless breakline as well
* Bump version
2023-11-16 14:36:23 -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
2aa9b82e5a
Add languagetool vendored integration for performant and accurate spelling lint check
2023-10-24 08:15:39 -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
3cd67cd2c6
Fix machine translation error handling
2023-03-02 11:03:12 -05:00
Simon Prévost
70926dd492
Fix Rails formatter
2023-01-18 14:02:25 -05:00
Simon Prévost
773fd24f2a
Fix gettext line break reject
2023-01-16 13:08:51 -05:00
Simon Prévost
593d080b43
format
2023-01-08 22:27:08 -05:00
Simon Prévost
40d37a4526
m1 stuff
2022-12-19 10:50:26 -05:00
Simon Prévost
4b142e7b23
wip
2022-12-16 08:56:46 -05:00
Simon Prévost
d40d32dbbb
Fix placeholder lint and bad documents list UX ( #326 )
2022-11-16 20:18:44 -05:00
Simon Prévost
78b2c65fe1
Add machine translations document translate
2022-03-15 06:18:21 -04:00
Simon Prévost
cde90b66ba
Remove autocorrect stuff
2021-12-18 21:07:01 -05:00
Simon Prévost
bc72f50b4b
Remove gleam
2021-12-12 21:18:48 -05:00
Simon Prévost
559eef3794
wip
2021-12-09 18:45:23 -05:00
Simon Prévost
c937a2ace1
Fix value_type not set for some parsers
2020-11-25 18:01:32 -05:00
Simon Prévost
8e50afc874
Run format
2020-11-25 07:34:47 -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
1968150385
Update app.json and jsone dep to remove slash escaping
2019-12-16 18:46:05 -05:00
Simon Prévost
fb6259d9f5
Add tests
2019-12-12 12:36:49 -05:00
Simon Prévost
4236ca2cee
Add translation lint and spell check
2019-12-12 12:36:49 -05: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
e0b24790e8
Refactor codes and UI with new standard
2018-12-12 20:05:57 -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
53a0e5c8ac
Refactor and adds credo env var check
2018-12-08 16:43:06 -05: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
Łukasz Jan Niemier
a40e6a2e0d
Do not assume that there will be value in language
...
Closes #26
2018-05-11 07:32:25 -04:00
Łukasz Jan Niemier
d9c733c0a3
Keep newlines in translations
...
Closes #28
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