Localization - Export PO fail

Hi. I’m a translator with experience in localization but little knowledge of coding who’s new to UE :slight_smile:
I’ve created a test project just to get my hands on UE and I get an error when I try to export the PO files.
No idea what I’m doing wrong. This is the error log:

[2017.07.11-08.38.07:822][ 0]LogShaderCompilers:Display: Using Local Shader Compiler.
[2017.07.11-08.38.09:318][ 0]LogTemp:Display: Loaded TP AllDesktopTargetPlatform
[2017.07.11-08.38.09:487][ 0]LogTemp:Display: Loaded TP MacClientTargetPlatform
[2017.07.11-08.38.09:656][ 0]LogTemp:Display: Loaded TP MacNoEditorTargetPlatform
[2017.07.11-08.38.09:822][ 0]LogTemp:Display: Loaded TP MacServerTargetPlatform
[2017.07.11-08.38.09:993][ 0]LogTemp:Display: Loaded TP MacTargetPlatform
[2017.07.11-08.38.10:164][ 0]LogTemp:Display: Loaded TP WindowsClientTargetPlatform
[2017.07.11-08.38.10:337][ 0]LogTemp:Display: Loaded TP WindowsNoEditorTargetPlatform
[2017.07.11-08.38.10:507][ 0]LogTemp:Display: Loaded TP WindowsServerTargetPlatform
[2017.07.11-08.38.10:668][ 0]LogTemp:Display: Loaded TP WindowsTargetPlatform
[2017.07.11-08.38.10:838][ 0]LogTemp:Display: Loaded TP AndroidTargetPlatform
[2017.07.11-08.38.11:006][ 0]LogTemp:Display: Loaded TP Android_ASTCTargetPlatform
[2017.07.11-08.38.11:174][ 0]LogTemp:Display: Loaded TP Android_ATCTargetPlatform
[2017.07.11-08.38.11:341][ 0]LogTemp:Display: Loaded TP Android_DXTTargetPlatform
[2017.07.11-08.38.11:512][ 0]LogTemp:Display: Loaded TP Android_ETC1TargetPlatform
[2017.07.11-08.38.11:679][ 0]LogTemp:Display: Loaded TP Android_ETC2TargetPlatform
[2017.07.11-08.38.12:013][ 0]LogTemp:Display: Loaded TP Android_MultiTargetPlatform
[2017.07.11-08.38.12:013][ 0]LogTemp:Display: Loaded TP Android_PVRTCTargetPlatform
[2017.07.11-08.38.12:172][ 0]LogTemp:Display: Loaded TP HTML5TargetPlatform
[2017.07.11-08.38.12:446][ 0]LogTemp:Display: Loaded TP IOSTargetPlatform
[2017.07.11-08.38.12:545][ 0]LogTemp:Display: Loaded TP TVOSTargetPlatform
[2017.07.11-08.38.12:712][ 0]LogTemp:Display: Loaded TP LinuxClientTargetPlatform
[2017.07.11-08.38.12:881][ 0]LogTemp:Display: Loaded TP LinuxNoEditorTargetPlatform
[2017.07.11-08.38.13:050][ 0]LogTemp:Display: Loaded TP LinuxServerTargetPlatform
[2017.07.11-08.38.13:217][ 0]LogTemp:Display: Loaded TP LinuxTargetPlatform
[2017.07.11-08.38.13:217][ 0]LogTargetPlatformManager:Display: Building Assets For Windows
[2017.07.11-08.38.15:078][ 0]LogDerivedDataCache:Display: Max Cache Size: 512 MB
[2017.07.11-08.38.15:135][ 0]LogDerivedDataCache:Display: Loaded Boot cache: C:/Users/javier_fernandez/AppData/Local/UnrealEngine/4.16/DerivedDataCache/Boot.ddc
[2017.07.11-08.38.15:155][ 0]LogDerivedDataCache:Display: Pak cache opened for reading …/…/…/Engine/DerivedDataCache/Compressed.ddp.
[2017.07.11-08.38.20:417][ 0]LogLinker:Warning: Can’t find file ‘/Game/ThirdPersonBP/ThirdPersonOverview’
[2017.07.11-08.38.20:417][ 0]LogUObjectGlobals:Warning: Failed to load ‘/Game/ThirdPersonBP/ThirdPersonOverview’: Can’t find file ‘/Game/ThirdPersonBP/ThirdPersonOverview’
[2017.07.11-08.38.20:417][ 0]LogLinker:Warning: Can’t find file ‘/Game/ThirdPersonBP/ThirdPersonOverview’
[2017.07.11-08.38.20:417][ 0]LogUObjectGlobals:Warning: Failed to load ‘/Game/ThirdPersonBP/ThirdPersonOverview’: Can’t find file ‘/Game/ThirdPersonBP/ThirdPersonOverview’
[2017.07.11-08.38.20:417][ 0]LogUObjectGlobals:Warning: Failed to find object ‘Class /Game/ThirdPersonBP/ThirdPersonOverview.ThirdPersonOverview_C’
[2017.07.11-08.38.33:461][ 0]LogPortableObjectPipeline:Error: bUseCultureDirectory may only be used with a single culture.
[2017.07.11-08.38.33:461][ 0]LogInternationalizationExportCommandlet:Error: Failed to export localization files.
[2017.07.11-08.38.33:461][ 0]LogGatherTextCommandlet:Error: GatherTextStep0-InternationalizationExportCommandlet reported an error.
[2017.07.11-08.38.33:462][ 0]LogInit:Display:
[2017.07.11-08.38.33:462][ 0]LogInit:Display: Warning/Error Summary (Unique only)
[2017.07.11-08.38.33:462][ 0]LogInit:Display: -----------------------------------
[2017.07.11-08.38.33:462][ 0]LogInit:Display: LogPortableObjectPipeline:Error: bUseCultureDirectory may only be used with a single culture.
[2017.07.11-08.38.33:462][ 0]LogInit:Display: LogInternationalizationExportCommandlet:Error: Failed to export localization files.
[2017.07.11-08.38.33:462][ 0]LogInit:Display: LogGatherTextCommandlet:Error: GatherTextStep0-InternationalizationExportCommandlet reported an error.
[2017.07.11-08.38.33:462][ 0]LogInit:Display: LogLinker:Warning: Can’t find file ‘/Game/ThirdPersonBP/ThirdPersonOverview’
[2017.07.11-08.38.33:463][ 0]LogInit:Display: LogUObjectGlobals:Warning: Failed to load ‘/Game/ThirdPersonBP/ThirdPersonOverview’: Can’t find file ‘/Game/ThirdPersonBP/ThirdPersonOverview’
[2017.07.11-08.38.33:463][ 0]LogInit:Display: LogUObjectGlobals:Warning: Failed to find object ‘Class /Game/ThirdPersonBP/ThirdPersonOverview.ThirdPersonOverview_C’
[2017.07.11-08.38.33:463][ 0]LogInit:Display:
[2017.07.11-08.38.33:463][ 0]LogInit:Display: Commandlet->Main return this error code: -1
[2017.07.11-08.38.33:463][ 0]LogInit:Display: With 3 error(s), 5 warning(s)
[2017.07.11-08.38.33:463][ 0]LogInit:Display:

Execution of commandlet took: 0.00 seconds
[2017.07.11-08.38.33:661][ 0]LogOnline:Display: Unloading online subsystem: NULL

Any help is appreciated.
Thanks,

Hello javierthatsme,

From looking at the log, I see this error message:

LogPortableObjectPipeline:Error: bUseCultureDirectory may only be used with a single culture.

This is something that has been broken for a while but it can easily be worked around. This comes from trying to use the export/import button on a single culture that isn’t the native culture. Instead of using this button, use the main “Export Text” and “Import Text” buttons above your list of cultures. It should work without these same errors. It’s something that is planned to be fixed but isn’t a priority due to having a workaround.

1 Like

Hi,
Thanks for your answer. However, that didn’t solve the problem. It doesn’t matter which of the different “Export Text” buttons I use, none of them works.

Here’s the log again, for a different project (now I used Unreal Match 3 as a test project), but with the same error.link text

Have you tried using the default directory for the export, which is the Content folder in the Project’s directory? It could be related to the directory you’re attempting to export to, as it’s mentioning not being able to write successfully.

Thanks! That solved it! It was a problem of not being able to write on shared folders or network locations.

And thanks for commenting about the known bug of Import/Export PO for single cultures! I was confused about that, but now I know that I have to Import/Export PO for all cultures :wink:

Hi - I don’t understand how I can use the global import/export buttons to transfer data from one culture to another…

Thanks Matthew! My error was on the Import. Google has amazingly 2 (TWO) results for this error, one is this question and the other one is a logfile.

I could resolve it only by export / import at the Game Targets (Cultures gave me the same error).