lokalise / i18n-ally-jetbrains-docs

6 stars 4 forks source link

Support for upcoming 2024.1 versions #49

Open pawel-omniaz opened 8 months ago

pawel-omniaz commented 8 months ago

Hi,

Can you add support for upcoming 2024.1 versions of IDEs (now in EAP)? Or is this plugin not maintained anymore?

lonecry commented 4 months ago

here the steps to make a compatible version file. 1 、download the plugin file. 2 、unzip jetbrains-ide-plugin-1.4.2.1.zip and unzip \lib\instrumented-jetbrains-ide-plugin-1.4.2.1.jar
3 、remove the <idea-version since-build="232.9559" until-build="233.*"/> tag in META-INF/plugin.xml 4 、make a instrumented-jetbrains-ide-plugin-1.4.2.1.jar file and zip the folder 5 、Install plugin from disk and have a fun.

mcastets commented 3 months ago

Thank you @lonecry !

I have prepared the zip following your instructions, feel free to download: jetbrains-ide-plugin-i18nally.zip

FeBe95 commented 2 months ago

Removing the version restrictions does work in some cases for some plugins. Unfortunately, it does not seem to work (anymore) with PhpStorm 2024.2.

At first I was getting an IDE error:

com.intellij.openapi.options.ConfigurationException: i18n Ally sink file type 'PoFileType' is not known
    at org.i18nally.jetbrainsideplugin.sinks.SinkTypesRegistry.getSinkFileType(SinkTypesRegistry.kt:56)
    at ...

After re-creating the configuration, I am stuck with this warning:

Contents of external configuration file are not recognized.

com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of
`org.i18nally.jetbrainsideplugin.settings.versioning.current.AllyJsonConfiguration`

(no Creators, like default constructor, exist):
cannot deserialize from Object value (no delegate- or property-based Creator)
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 2, column: 3]

<Re-create from internal configuration data>

And after restarting PhpStorm, my configuration is empty again...

platon-ivanov commented 1 month ago

I also have the issue with configuration not saving on WebStorm 2024.2.1.

sinchijackal commented 3 days ago

I also have the issue with configuration not saving on WebStorm 2024.2.3