Commit Graph

15 Commits

Author SHA1 Message Date
inaki diezgalarza
28e621345e Changed the function Conv_LocalizableMessageToText in LocalizableMessageLibrary to not be BlueprintCosmetic
#TechNotes BlueprintCosmetic was removed to be able to call this function from the server to get the message as an FText

#rb josh.may david.punsetmartinez

[CL 26492071 by inaki diezgalarza in ue5-main branch]
2023-07-20 14:48:44 -04:00
david punsetmartinez
5ff73e591d Add a log when converting a localizablemessage to a text that displays the translated string.
[REVIEW] [at]jamie.dale

[CL 26181055 by david punsetmartinez in ue5-main branch]
2023-06-22 09:52:59 -04:00
david punsetmartinez
7dd62d2979 [ue] Unshelve from [at]jamie.dale
Skip FText::AsNumber calls in FLocalizableMessage where possible

[REVIEW] [at]jamie.dale

[CL 26165082 by david punsetmartinez in ue5-main branch]
2023-06-21 17:40:45 -04:00
david punsetmartinez
33d081533e Minimal Export/Import class for ULocalizableMessageLibrary
[CL 26099535 by david punsetmartinez in ue5-main branch]
2023-06-19 14:58:37 -04:00
david punsetmartinez
3bf2a56b0a Expose LocalizableMessageLibrary methods
[REVIEW] [at]patrick.boutot
#preglight 649079828d4eab0e55b9ab89

[CL 26096885 by david punsetmartinez in ue5-main branch]
2023-06-19 13:53:11 -04:00
david punsetmartinez
20bc3788c8 Support message as a parameter for a message
[REVIEW] [at]jamie.dale

[CL 26026883 by david punsetmartinez in ue5-main branch]
2023-06-15 17:28:29 -04:00
david punsetmartinez
cd568305ff Use FLocalizableMessage directly now that it's a blueprinttype
[REVIEW] [at]patrick.boutot

[CL 26023734 by david punsetmartinez in ue5-main branch]
2023-06-15 15:51:41 -04:00
jamie dale
4f4bafcf0b Updated FLocalizableMessage to handle localization/internationalization correctly
* FLocalizableMessageProcessor::Localize now uses the same method as NSLOCTEXT to find the localized FText at runtime.
* FLocalizationContext no longer provides a monolithic "culture" override, but rather two optional language and locale overrides.
    * This better matches how UE works internally (where language (for localization), and locale (for internationalization) are a split concept), and avoids baking a particular language/locale into the resultant format (which means it will save/load/replicate correctly when used as FText).

#jira
#rb david.punsetmartinez
#rnx

[CL 26023328 by jamie dale in ue5-main branch]
2023-06-15 15:34:00 -04:00
david punsetmartinez
4b7bb71668 Make Localizable Message a blueprint type
[REVIEW] [at]jp.flouret

[CL 26021141 by david punsetmartinez in ue5-main branch]
2023-06-15 14:25:06 -04:00
patrick boutot
0cb806a46e Add BP function to translate from a LocalizableMessage to FText.
#rb david.punsetmartinez

[CL 25879191 by patrick boutot in ue5-main branch]
2023-06-08 15:28:54 -04:00
david punsetmartinez
bada3116d7 Fix FORT-616472: use InstancedStruct to simplify replication
[REVIEW] [at]peter.engstrom
#preflight 6479fe621c5c2b3fa2c030b2

[CL 25764111 by david punsetmartinez in ue5-main branch]
2023-06-02 12:11:39 -04:00
neil henning
76d1859b4e Use the new AutoRTFM instrumentation path which lets us cut down on the number of modules we need to compile with transactional support.
#preflight 64677cc6434f5536a35d2889

[CL 25548137 by neil henning in ue5-main branch]
2023-05-19 13:50:23 -04:00
david punsetmartinez
37e7d658d9 Use current Culture to localize message parameters (UE)
[REVIEW] [at]tim.tillotson [at]jp.flouret [at]andrew.scheidecker
#preflight 645a4cd56c35ad81e67a5c13

[CL 25407626 by david punsetmartinez in ue5-main branch]
2023-05-10 12:26:52 -04:00
david punsetmartinez
2ae51411d0 Add WithPureVirtual
#preflight none

[CL 25373165 by david punsetmartinez in ue5-main branch]
2023-05-08 13:35:09 -04:00
david punsetmartinez
d22eccc1dc Work on Localization: Localizable Message Module, implements a message data structure that supports replication and resolve localization on the client.
[REVIEW] [at]tim.tillotson [at]jp.flouret [at]michael.nicolella [at]Patrick.Boutot [at]saam.barati won.chun[at]
#preflight 645537cd4574b81df4f9f342

[CL 25372968 by david punsetmartinez in ue5-main branch]
2023-05-08 13:29:17 -04:00