diff --git a/backend/data/src/main/kotlin/io/tolgee/formats/ImportFileProcessor.kt b/backend/data/src/main/kotlin/io/tolgee/formats/ImportFileProcessor.kt index d6f4d3dff0..e365a6e0bd 100644 --- a/backend/data/src/main/kotlin/io/tolgee/formats/ImportFileProcessor.kt +++ b/backend/data/src/main/kotlin/io/tolgee/formats/ImportFileProcessor.kt @@ -8,7 +8,9 @@ abstract class ImportFileProcessor { abstract fun process() val languageNameGuesses: List by lazy { - val fileName = context.file.name + val filePath = context.file.name + + val fileName = filePath.substringAfterLast("/") val result = arrayOf(