Lukáš Laštůvka
Lukáš Laštůvka
## Sample of personal use ### StringExtensions.cs ```csharp // Copyright (c) 2024 Laštůvka Lukáš // Licensed under the Apache-2.0 license. See the LICENSE. using System.Text.RegularExpressions; namespace ProjectName.Extensions; public static partial...
## Testing on real data * For compatibility reasons, I created a new version that handles multivalued text better. * I have made a demonstration of the possibilities and implementation...
### is/are can also:  ``` KEY: FilesReady Source: "{0, plural, =1 {# file} other {# files}} {0, plural, =1 {is} other {are}} ready" Result: NUM:0 -> 0 files are...
## MessageFormat * I tried the existing nuget package "MessageFormat" * Public repo [MessageFormatter for .NET](https://github.com/jeffijoe/messageformat.net.git) ### Install NuGet ``` Install-Package MessageFormat ``` ### Demo code ```csharp // Copyright (c)...
> This has low priority comparing to other urgent issues but definitely worth trying and if someone gonna make a PR for this we are happy to help. Personally, I...
@yaira2 why not, let's see if the translators know their stuff
> MessageFormat https://github.com/files-community/Files/issues/15323#issuecomment-2104368104 I recommend using the MessageFormat solution, I'm trying it out, and it's versatile and can handle text formats like '{0}' or '{num}' Alternatively, I could help with...
@yaira2 But I don't know the syntax of your code yet, so if a foundation is established, I could start helping.
I wrote a prototype of a possible implementation and tested this part for my region where more than two possible values are used: ```xml položka vybrána položky vybrány ``` Change...