Skip to content

Localization and nuspec#322

Open
SpawnProd wants to merge 1 commit intocommandlineparser:developfrom
SpawnProd:master
Open

Localization and nuspec#322
SpawnProd wants to merge 1 commit intocommandlineparser:developfrom
SpawnProd:master

Conversation

@SpawnProd
Copy link
Copy Markdown

Changes in CommandLine.nuspec - dependencies version was changed to 4.3
Additional localization for Default and pos. words, Valid values and value pos phrases.
Also required word as function parameter was removed from some private functions and it was replaced with invoking SentenceBuilder instance functions.
Issue #321
Issue #297

Additional localization (pos, valid values...).
Dependencies version changes for nuget.
@ericnewton76 ericnewton76 changed the base branch from master to develop December 18, 2018 00:21
<dependency id="System.Resources.ResourceManager" version="4.3.0" />
<dependency id="System.Runtime" version="4.3.0" />
<dependency id="System.Runtime.Extensions" version="4.3.0" />
</group>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dependency changes will probably conflict with upcoming netcore standard 2.0 adjustments (#307)

it => it.AppendFormat("{0} (pos. {1})", specification.MetaName, specification.Index),
it => it.AppendFormat("value pos. {0}", specification.Index))
it => it.AppendFormat("{0} ({1} {2})", specification.MetaName, SentenceBuilder.PositionWord(), specification.Index),
it => it.AppendFormat("{0} {1}", SentenceBuilder.ValuePositionPhrase(), specification.Index))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these localization changes dont actually fit the need.

Some languages might need the number in a different spot. French sometimes likes '1 de juen' instead of 'june 1' for example (thats a date but you should understand my point).

The strings might need to include numeric placeholders too... I feel like localization for now needs to be reconsidered and rearchitected in this lib.

@moh-hassan moh-hassan force-pushed the develop branch 2 times, most recently from b211712 to 746885a Compare February 3, 2020 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants