81 Commits

Author SHA1 Message Date
jamie dale
e29b9ebd84 Add overload of FPortableObjectFormatDOM::ToString that can fill an existing string
[FYI] Leon.Huang
#rnx

[CL 36013181 by jamie dale in ue5-main branch]
2024-09-04 12:38:45 -04:00
matt peters
fbd4cb4746 Localization cooking: Add missing reason string when FLocalizationChunkDataGenerator::GenerateChunkDataFiles fails because an archive file is missing.
#rnx
#rb Jamie.Dale

[CL 33277987 by matt peters in ue5-main branch]
2024-04-26 16:32:05 -04:00
steve robb
f8d47335a4 Replaced RemoveAt(N, 1, EAllowShrinking::*) with RemoveAt(N, EAllowShrinking::*).
[CL 31626444 by steve robb in ue5-main branch]
2024-02-19 16:51:58 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
jamie dale
34b7f7f843 Reduced UGC localization log spam when the export is a success
[FYI] Dave.Belanger
#rnx

[CL 29604167 by jamie dale in ue5-main branch]
2023-11-09 14:05:28 -05:00
jamie dale
6313fd92cb Moved UGC localization logging to its own category
[FYI] Dave.Belanger
#rnx

[CL 29601988 by jamie dale in ue5-main branch]
2023-11-09 13:03:27 -05:00
josh adams
aeb5cb1347 - Restoring a backout after fixing the issue that causes the backout
[Backout] - CL27745134
[FYI] stan.hormell
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL27731288 - CIS / Build Errors
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27923017 by josh adams in ue5-main branch]
2023-09-15 13:39:02 -04:00
stan hormell
37bad2d07b [Backout] - CL27731288 - CIS / Build Errors
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27745141 by stan hormell in ue5-main branch]
2023-09-10 22:58:21 -04:00
josh adams
a8a9a0b759 - Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27731364 by josh adams in ue5-main branch]
2023-09-08 17:58:55 -04:00
tim smith
5252c1e1b3 1) Removed the bUseVerse UBT setting.
2) Removed usage of WITH_VERSE and UE_USE_VERSE_PATHS
3) Modified UBT to always set WITH_VERSE and UE_USE_VERSE_PATHS to one until the setting is completely removed.

#rb Andrew.Scheidecker

[CL 27199531 by tim smith in ue5-main branch]
2023-08-18 08:09:29 -04:00
jamie dale
2d695844ec Ignore non-zero localization commandlet exit codes if GatherText itself returns a zero exit code
#jira
[FYI] Holly.Lucas
#rnx

[CL 26884496 by jamie dale in ue5-main branch]
2023-08-07 11:32:19 -04:00
jamie dale
676e5f11d0 Fixed the PortableObject data source not detecting newly added localization targets
#jira
#rb Rex.Hill
#rnx

[CL 26467180 by jamie dale in ue5-main branch]
2023-07-19 14:51:26 -04:00
leon huang
0b46ce17c3 Localization:
Sort .po file entries by source location, namespace, key and then source string.
This allows localization vendors to group .po entries by files and have better context for the translation.

#jira: FORT-610989
#rb: Jamie.Dale
#test: Generated a new Engine.po file and verified that the .po file was indeed sorted by source location.

[CL 26242371 by leon huang in ue5-main branch]
2023-06-26 15:38:01 -04:00
jamie dale
594089c442 Gather Verse for UGC localization
#rb Leon.Huang, david.punsetmartinez
#rnx

[CL 26012154 by jamie dale in ue5-main branch]
2023-06-15 09:23:55 -04:00
jamie dale
c27919ed54 Default to English when there is no localization data available
#jira
[FYI] david.punsetmartinez
#rnx

[CL 25935111 by jamie dale in ue5-main branch]
2023-06-12 15:29:28 -04:00
jamie dale
ba034b2959 Added API to cleanup leftover UGC localization data
#rb Jason.Stasik

[CL 25592357 by jamie dale in ue5-main branch]
2023-05-23 18:15:53 -04:00
jamie dale
1f377db5f4 Added extra localization logging
#jira
#rb none
#rnx

[CL 25055361 by jamie dale in ue5-main branch]
2023-04-14 20:06:01 -04:00
jamie dale
0f6e125429 Exposed field filters to the Localization Dashboard
#jira
[FYI] Leon.Huang

[CL 24287949 by jamie dale in ue5-main branch]
2023-02-17 14:26:39 -05:00
jamie dale
057eeb6d49 Fixed localization meta-data gather issues
* Inherited properties are no longer gathered for each derived type.
* The OutputKeys from the dashboard no longer contains errant quotes.
* The OutputKeys formatting no longer converts to FText internally.

#jira
[FYI] Leon.Huang

[CL 24287022 by jamie dale in ue5-main branch]
2023-02-17 13:48:05 -05:00
jamie dale
e06e9b6413 Updated SearchDirectoryPaths in the source code gather to handle general filter-style wildcards
#jira
[FYI] Leon.Huang, Kevin.Jantz

[CL 24106234 by jamie dale in ue5-main branch]
2023-02-09 16:21:18 -05:00
jamie dale
c27a59d91e Updated SearchDirectoryPaths in the source code gather to handle trailing wildcards
#jira
[FYI] Leon.Huang, Kevin.Jantz

[CL 24106152 by jamie dale in ue5-main branch]
2023-02-09 16:18:26 -05:00
jamie dale
709e97ade9 Default to exporting localization files with the copyright notice set on the project
This can also be overridden using the "CopyrightNotice" option in the "CommonSettings" of a GatherText config

#preflight 63c9c142d368fed9e5d07f7a
#rb Leon.Huang

[CL 23784893 by jamie dale in ue5-main branch]
2023-01-19 20:48:37 -05:00
jamie dale
29a6e09f28 Added base support for UGC localization
UGC localization can be used to provide a simplified localization experience for basic plugins (only providing the PO files to be translated), and is primarily designed for DLC plugins where the UGC localization will be compiled during cook (see UUserGeneratedContentLocalizationSettings).

Support for non-DLC plugins can be provided via project specific tooling built upon this base API.

Support for complex plugins (such as those containing different kinds of modules, eg) a mix of game/engine and editor) are not supported via this API.

#preflight 63c70d2802024f93d87a0e32
#rb Leon.Huang, Dave.Belanger

[CL 23761684 by jamie dale in ue5-main branch]
2023-01-18 14:39:58 -05:00
forsakenyang
1f3141bdff PR #9270: Bugfix: remove unnecessary quotes of OutputKeys in FooTarget_Gather.ini when gather texts from meta data via Localization Dashboard. (Contributed by forsakenyang)
#jira: UE-156187
#rb: Jamie.Dale
#preflight: 63868662b21cdd3a267b432f
#9270

[CL 23320722 by forsakenyang in ue5-main branch]
2022-11-29 19:03:04 -05:00
aditya ravichandran
f8b7ee5555 Replace any instances of "Source Control" with "Revision Control" in text in the Editor
#rb JeanMichel.Dignard, Robb.Surridge
#preflight 637d180efa348e8480e8837e

[CL 23250808 by aditya ravichandran in ue5-main branch]
2022-11-23 11:57:50 -05:00