In Bengali, Japanese, Javanese, Korean, Malay and Vietnamese the tick
candle type and the ticks were translated by the same word, so a list
of data types offered two entries that read alike, and picking the
first one gave tick candles where ticks were meant. The candle type
now reads as a tick candle there, in the words each of these languages
already uses for the candle's description.
A test names every data type such a list offers side by side, in every
language, and fails on any two that read the same.
A property grid of the element showed "Candles", "Indicators", "Orders", "Trades" and a "Chart axes" group whatever the
language, and the axes' collections were keyed by their translated names. The collections are named from the
localized strings now, the axes' group by the new ChartAxes string in every language, and the axes are keyed as
XAxis and YAxis.
Two messages for the log when a strategy is reopened, worded as the one
about a risk rule left out:
- a saved working time that cannot be read is left out;
- saved emulator settings that cannot be read give way to the defaults.
Strings nothing shows any more are dropped:
- the caption of the minutes-only time frame: a strategy's series is
candles of any type, edited with the shared candle type editor;
- the captions, descriptions and the negative latency message of the
fill on touch, trading state check and latency fields: a backtest's
emulator settings are StockSharp's own MarketEmulatorSettings.
ShellErrorCount, ShellWarningCount, ShellLogCount and ShellNoLogEntries were
the badges and the status line of the S#.Shell's own log workspace. The Shell
now shows its log in the shared log monitor and counts trouble on the shared
status strip, so the four strings go from the base file and every language.
The Designer sends a test to the cloud as its WPF head does and says three things the WPF head says
in English only: that a cloud test cannot be longer than the plan allows, with the pricing page
offered; that a task is being sent to the server, in the task's own log; and that a task could not
be started, on the task's row. Each is in every language of the core.
Thirty-six texts the Avalonia Shell showed in English whatever the
language: the validation of a strategy's parameters, the reasons a
strategy cannot be built or optimized, the names of the built-in
strategies, the description of its drawdown rule, the failures of a
Designer import, and the lines that tell a reader about saved state
that could not be read.
Two captions for the label a line drawn on a chart carries: whether it
is shown and where it stands - on the axis, on the line, beside it.
There were none for these two settings of the line, ShowLabel and
LabelPlacement, so a window that offers them could only show the raw
property names.
All of them are added to the base strings and translated into all 38
languages; the chart captions use the word each language already has
for a label on a chart axis.
- Walking a storage told the reader "Drive ... scanning." and "Security ...
saved." in English whatever language was chosen, and an empty Hydra window
had nothing to say about how to start. DriveScanning and SecuritySaved are
added for the walk's log and HydraOpenHint for the empty window, each in the
words its own file already uses for storage, instrument and task.
- AddTools names what Hydra's tools window and its welcome button add - the
export, import and converter tools of its Tools group - and every language
called them tasks, next to "Add sources" on the same screen. Each language
now uses the word it already has for that group.
- A grid's menu has an entry that copies the selected rows together with the
column headers; it had no caption of its own and borrowed the one of the
export to the clipboard as CSV. CopyWithHeaders ("Copy with headers") is
added.
- A task that knows only the time it loaded data up to had to report it as a
range from that time to itself. LoadedNOfTill and SecLoadedNOfTill name the
one time instead.
Every key is in English and in every language the resources carry.
The strings added with the walk-forward statistics and the spread options
carried a raw apostrophe in the Catalan, French, Italian, Punjabi and Uzbek
files. sort-localization-strings.ps1 writes it as \u0027, so its check
reported the five files as unsorted. They are rewritten with the script; the
strings themselves are unchanged.
- WalkForwardOptimizer cuts a range into windows that step forward by the
out-of-sample length, searches the parameters on each in-sample stretch
with a brute-force optimizer, and runs the best setting on the stretch
right after it. Ties are broken by parameter values, so the same
history always chooses the same setting.
- MarketProfiler measures what a candle history contains: coverage,
movement and volatility, autocorrelation and variance ratios, what
followed breakouts, breakdowns and stretched closes, and how the
active session is shaped. Parts of the day are an enum and thin
samples are reported as flags, so nothing in it needs translating.
- New statistics: time in market, average holding time and the share of
the net result made by the largest trade, registered with the others.
- MarketEmulatorSettings.IsSpreadCentered splits the spread around a
print that names no side, such as the prices a candle is replayed as,
so a buy and a sell pay the same half. Off by default; then the whole
spread is still placed below the print. SpreadSize may now be zero,
quoting both sides at the print, for runs that charge the spread
another way.
New resource keys are translated into every language.
A hundred and eighteen captions, labels, parameter names and log counters reached the screen as
literals written into the shell's and Hydra's code, so they stayed in English whatever language the
reader had chosen. They are keys now, in English and in every language the resources carry.
Two more that were asked for and were not here. A grid editor labels its column picker with a
resource called Column and there was no such resource; a localize markup extension resolves when the
window is drawn, so nothing said anything at build time and the label simply came up empty. And the
Russian documentation address was the old domain, which is a redirect now.
Each language was translated against the terminology its own file already uses, so "strategy",
"portfolio", "candle" and the rest keep the word this product has always used there, and every
substitution hole is carried through unchanged. scripts/validate-localization-strings.ps1 and
LocalizationTests.Languages_KeepEnglishKeysAndSubstitutionHoles both pass.
The work that predates the test-coverage review, restored here as one commit.
A pass over the wording itself, not over which keys exist: every language file carries the same keys
as before and the same number of lines. What changed is the term chosen for a concept, applied the
same way everywhere it appears - a sequence number is an index, a filter is named after the method
rather than described, a field keeps the noun the venue's own documentation uses.
The English source strings changed with them, so a reader of the source and a reader of a translation
are told the same thing.
Claude-Session: https://claude.ai/code/session_01LjT4RKLsz3vBd8eSERZTde
The catalog renders an apostrophe as its Unicode escape rather than the bare
character, the way the .NET serializer emits it, and the sort check compares
each file against exactly that rendering. Ten of the strings added for the
Avalonia heads carried the bare character instead, so Catalan, French,
Ukrainian and Uzbek failed the check.
Rewritten by scripts/sort-localization-strings.ps1; the parsed values are
unchanged.
Twenty-two strings the cross-platform heads show had no entry in the catalog, so
they stayed English whatever language the reader picked.
The toolbar hints name actions no resource spelled: applying pending code
changes, importing a strategy, creating a backtest or a live run, starting and
stopping every Hydra task at once, and what validating a diagram does.
The instrument, position and reset dialogs the terminal builds in code name
their own: creating an index or a continuous instrument, editing a position, the
documents dock group, the expiration-jump heading, the two syntax hints for jumps
and legs, and the security filter prompt. The reset warning takes the settings
file as {0} rather than naming it inside the sentence, so no translation carries
a file name.
The status line reports in its own words too: a chart layout that could not be
restored, a saved or reset dock layout, a created security, an updated position,
settings waiting for a connection, and the refusal to edit a position before one
is picked.
Translated into all 38 languages beside the English master.
Four language files failed the localization check. Not for their order - every
key in them is in place - but because eight values added with the Avalonia
captions spell an apostrophe as itself while every other value in those same
files spells it \u0027, which is what the check's own writer emits. The check
compares its output to the file byte for byte, so a difference in escaping
reads as UNSORTED and says nothing about what is actually wrong.
Sorted with scripts/sort-localization-strings.ps1; nothing but the escaping of
those eight moved.
Finish the sample migration: the tree now carries all 28 public UI heads with
their _fromsrc twins, the shared connector coordinator they were missing, and a
contract suite that runs 72 passed, 0 failed. PublicSampleInventoryTests is the
parity gate - every head must stay present when a public WPF sample is added,
renamed or removed.
Add the 57 captions the Avalonia heads spelled in markup because no resource
said them: the Terminal, Hydra and Designer menus, and the panel labels beneath
them - drive and fields, spread chart, order-log builder, new index and
continuous securities, the analytics source actions, candle build and
timeframes, exchanges, permissions, rollover date, security selection, solution
explorer and the rest. Each one is translated into all 38 languages beside the
English master.
Two captions needed their own names rather than the obvious ones: Suspend
already meant enqueue non ordered, and TaskSettings already held a format
string.
The property-grid toolbar takes its captions from resources instead of the
English literals it carried, and the chart context menu gains a command that
removes the pane it was opened on. Both need strings that did not exist.
Translated into every supported language.
A tariff quoted as a percentage usually comes with a minimum: a trade too small to
reach it still carries a charge. No rule could express that, so anyone who needed one
computed the commission themselves and stopped using the rules at all - which is how
a second description of the same tariff gets written.
The floor belongs to every rule rather than a new rule of its own, so Process is now
the base class applying it to whatever the rule worked out. Each rule says what it
charges through OnProcess and no longer decides what to do about a minimum.
It bounds a charge without inventing one. A rule that found nothing to charge for
still returns nothing, and a rebate - a negative value - is left alone unless a floor
was actually set.
Twelve common_*.props files sat in the repository root, mixed in with the
solutions and the READMEs. They are build configuration and now live in props/,
and every import that reaches them carries the folder: 59 imports across this
repository, Connectors and StockSharpApps, the F# analytics project included.
common_meta.props derived the repository location from its own directory, so it
now normalizes one level up. RepoGitHubPath and everything built on it -
RepoAppsPath, RepoWebPath, ConnectorsGitHubPath, ConnectorsAppsPath - evaluate
to exactly the paths they did before.
The folder is props/ and not build/, which .gitignore excludes.
The Avalonia grid grows a column header menu whose entries have no string yet:
sort ascending/descending, clear sorting, ungroup, the group panel toggle, clear
filter, best fit for one column and for all of them, freeze left/right, unfreeze,
and print. Every other entry in that menu reuses a string that already exists.
Translated into all 38 shipped languages, following the wording each catalogue
already uses for the neighbouring terms - the ungroup entry matches the second
half of that language's existing Group/Ungroup label.
DatabaseExporter wrapped every 50 rows in its own transaction, although the target
table already splits a package into statements that fit the provider's parameter
limit - so the small default bought nothing and multiplied durable commits and
network round trips. The default is raised to 10000, the property documents why, and
the localized description is updated in all 39 languages.
ExportTests was serialized by DoNotParallelize because its tests shared one fixed
table prefix and each dropped and recreated the same tables. Table names are now
unique per test, so the attribute is gone and the twelve export legs overlap.
The two in-house connectors are renamed from CryBro to StockSharp, so their
display strings follow: keys CryBroSBE/CryBroWS become StockSharpSBE/StockSharpWS
and the values read "StockSharp SBE" / "StockSharp WS". The product name is not
translated, so every language file carries the same value; the renamed keys are
moved to their sorted position so the files stay ordered.