Details des Tickets

Beschreibung,Kommentare und Anhänge

merge request id 1010
TitelFeature/ll 1533 multilangual certificates
BeschreibungLL-1533 - Mehrsprachigkeit der myC-Zertifikate s. http://jira.learningsystem.de/browse/LL-1533
Statusmerged
Created at 2024-09-09T10:44:53.666Z
Updated at 2024-09-23T09:18:07.644Z
Source branchfeature/LL-1533-multilangual-certificates
Target branchdevelop
AuthorGregor Gabriel
AssigneeSascha Immig

Discussion notes

added 1 commit
  • 6312df82 - added required php extension "intl"
Compare with previous version
Gregor Gabriel 2024-09-09T11:01:28.099Z
added 1 commit
  • 584642f7 - provided own methods to format date and datetime locale specific, as twig…
Compare with previous version
Gregor Gabriel 2024-09-09T12:50:12.249Z
added 1 commit
  • 7f205b7f - skipping authoring tool api tests, when api is not available
Compare with previous version
Sascha Immig 2024-09-09T15:39:18.975Z
merged Sascha Immig 2024-09-23T09:18:07.704Z

Merge Commits

Title Id Author Created at Message
provided own methods to format date and datetime locale specific, as twig… 584642f7257fea464f60380ef0709e8fd6eceef7 TUV\gabrielg 2024-09-09T12:50:06.000Z provided own methods to format date and datetime locale specific, as twig provided extra package uses php_intl extension and our git testing virtual machine does not contain this package (Sascha is informed) Usage: {{ format_date(progress.passed_at) }} and {{ format_datetime(progress.passed_at) }}
added required php extension "intl" 6312df8203bb9bdc99746c4b7d96ecad1f8d42a1 TUV\gabrielg 2024-09-09T11:01:23.000Z added required php extension "intl"
skipping authoring tool api tests, when api is not available 7f205b7f4d6d62e578ead7ee978a9e7417eeeb91 TUV\gabrielg 2024-09-09T15:39:09.000Z skipping authoring tool api tests, when api is not available (cherry picked from commit 2b857fe6c37325e253234a35a633421ac8525970)
fixed wrong position of class in folder structure 95b84fe5982252100d47f3a872329e810c4d1ffc TUV\gabrielg 2024-09-09T09:24:39.000Z fixed wrong position of class in folder structure
moved /App/Twig/Functions to /App/Services/Twig/Functions/I18nFunctions and dadapted namespace a23eb04491f75cd46ad29b7eb969caea7cac2973 TUV\gabrielg 2024-09-09T08:56:42.000Z moved /App/Twig/Functions to /App/Services/Twig/Functions/I18nFunctions and dadapted namespace
LL-1533 made follwowing functions available in certificate templates: aa9cdf1d0bc29e4e45cf58b28133300ade3227ec TUV\gabrielg 2024-08-07T09:35:31.000Z LL-1533 made follwowing functions available in certificate templates: + __(...) : this is our standard translation function, where usage in template is {{ __('certificates.attendance_certificate') }} + i18n($array): this function takes an array with all translations ['de'=>'hallo','en'=>'hello'] where usage in template is {{ i18n({'de':'Herr','en':'Mister'}) }}
allow to format date and datetime language specific and provided access to users… c396b8002bdc841e68e16a43577528b555ded390 TUV\gabrielg 2024-09-09T10:43:22.000Z allow to format date and datetime language specific and provided access to users locale with twig function "locale()" Sample: {{ progress.passed_at|format_date('medium', locale=locale()) }}