question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[IT DateTimeV2] Italian Extractors and Parsers translation errors

See original GitHub issue

Describe the bug There are some errors on the porting of all the Extractors and Parsers in Italian, all the hardcoded search were copied from the french correlatives and weren’t translated.

To Reproduce Steps to reproduce the behavior:

  1. Go to ItalianDatePeriodParserConfiguration
        public int GetSwiftDayOrMonth(string text)
        {
            var trimmedText = text.Trim().ToLowerInvariant();
            var swift = 0;

            // TODO: Replace with a regex
            // TODO: Add 'upcoming' key word

            // example: "nous serons ensemble cette fois la semaine prochaine" - "We'll be together this time next week"
            if (trimmedText.EndsWith("prochain") || trimmedText.EndsWith("prochaine"))
            {
                swift = 1;
            }

            // TODO: Replace with a regex

            // example: Je l'ai vue pas plus tard que la semaine derniere - "I saw her only last week"
            if (trimmedText.EndsWith("dernière") || trimmedText.EndsWith("dernières") ||
                trimmedText.EndsWith("derniere") || trimmedText.EndsWith("dernieres"))
            {
                swift = -1;
            }

            return swift;
        }

There are many examples of this among the Italian Extractors and Parsers. All tests for these Extractors and Parser are marked as NotSupported for dotnet.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
cahanncommented, Jun 7, 2019

We are targeting first week of July

1reaction
tellarincommented, Aug 8, 2019

Hi ALL, v1 of Italian DateTime is now merged in the repo and it will be out in nuget package v1.6.2 out in the next couple days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

DatetimeV2 Prebuilt entities - LUIS - Azure AI services
The datetimeV2 prebuilt entity extracts date and time values. These values resolve in a standardized format for client programs to consume.
Read more >
TeXLivePackages
amsldoc-it: Italian translation of amsldoc; amsmath-it: Italian ... datetime2-czech: Czech language module for the datetime2 package ...
Read more >
Untitled
Ic nociglia lecce, Italy v luxembourg preview, Cuba de alma nyc, Auchinlea tyres ... Dohle bodies feline, Naomi feil biografie, Cgi bin error...
Read more >
26 Oracle Technology Adapters
This section describes issues and workarounds that are applicable to all adapters: Oracle AQ Adapter, Oracle JMS Adapter, Oracle Files/FTP Adapter, Oracle MQ ......
Read more >
Fixed Problems 9.4 TS1M4 - SAS Support
When you use PROC SORT to sort encrypted data stored in a metadata-bound library, you receive "ERROR: Missing ENCRYPTKEY option on member... "...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found