WCF
WCF copied to clipboard
Migrate calls to the deprecated `Language` methods
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()withgetPhrase(). - [ ] Replace uses of
add()withregisterPhrase()when the phrase requires extra parameters. - [ ] Replace uses of
addObject()with{jsphrase}orregisterPhrase()(if it requires extra parameters).