Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
L lfeditor
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TYPO3
  • lfeditor
  • Issues
  • #8

Closed
Open
Created Sep 15, 2017 by Fabian Galinski@fgalinski😾Maintainer

Converting file from xml to xlf throws exception

Ticket on Forge: https://forge.typo3.org/issues/73172

Author: Josef Glatz

Description:

Problem/Description When I try to convert a xml to xlf I get an error

1: PHP Warning:

file_get_contents(/application/code/typo3conf/ext/theme/Resources/Private/Language/locallang_FormhandlerShared.xlf): failed to open stream: No such file or directory in /application/code/typo3conf/ext/lfeditor/Classes/Service/FileBaseService.php line 185

If I take a look into the folder after starting convertion: a new file with only the german translation in xml format de.locallang_FormhandlerShared.xlf is generated. the original file has no german translation "array". Therefore a EXT:theme/Resources/Private/Language/de.locallang_FormhandlerShared.xml is placed there. There are also all other empty languageKey arrays: (just a few lines:)

    <languageKey index="af"/>
    <languageKey index="ar"/>
    <languageKey index="bs"/>
    <languageKey index="bg"/>
    <languageKey index="ca"/>
    <languageKey index="ch"/>
    <languageKey index="cs"/>

Reloading the module is possible when I clear all caches in Install Tool.

ToDo(s) Converting language files should work again.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking