WCF icon indicating copy to clipboard operation
WCF copied to clipboard

Migrate calls to the deprecated `Language` methods

Open dtdesign opened this issue 2 months ago • 0 comments

There is currently still a significant usage of the legacy methods that have been deprecated in 6.0. They are bad from a DX perspective by not allowing for automated imports and the performance of addObject() is actually quite bad.

  • [ ] Replace uses of get() with getPhrase().
  • [ ] Replace uses of add() with registerPhrase() when the phrase requires extra parameters.
  • [ ] Replace uses of addObject() with {jsphrase} or registerPhrase() (if it requires extra parameters).

dtdesign avatar Oct 29 '25 16:10 dtdesign