Error when translating to portuguese

Hi there, how are you doing?

We're trying to translate YouTrack 6.5 from English to Portuguese (BR) and we found this link: https://confluence.jetbrains.com/display/YTD65/Translating+YouTrack+UI, explaining how to do that, but unfortunately it didn't work. We follow the steps below:

  • YouTrack was installed from a msi file and it's running as windows service (Windows 7 pt-br);
  • We download the English localizable files and put into a subfolder called "pt_BR";
  • On root folder, we create the supportedLocales.xml file with the correct xml format;
  • We created the config file "youtrack.jvmoptions" with the following line: -Djetbrains.mps.webr.i18n.custom-translations=c:\YouTrack\CustomTranslation;
  • The YouTrack service was restarted.

After these changes, YouTrack doesn't show the portuguese language option. :-(

Does anybody has any clue about what is wrong?
We appreciate any kind of help! :-)

Thank you!
Tiago

1
2 comments
Official comment

Hello Tiago, Michal

Sorry for the delay!

May it be the case there are duplicates in all_en.properties file? If it's not the true, could you please send me your youtrack.jvmoptions file and complete YouTrack logs (/logs folder) ? Logs can be sent at youtrack-feedback@jetbrains.com

Avatar
Permanently deleted user

Well, I am also trying to add custom translation into Youtrack 6.5 (on Mac), but without success. So far I tried to:

  • download 6.0.0 messages.zip file, created lang folder (en_UK) with appropriate supportedLocales.xml file
  • download whole git master trying to use it

with -Djetbrains.mps.webr.i18n.custom-translations=/data/youtrack/lang in youtrack.jvmoptions

Both resulted to Youtrack displaying just empty page and loooong error stack in youtrack-stderr.log starting with:

[2016-05-20 10:52:47,009] [YouTrack Error] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'profileCheckboxes' defined in URL [jar:file:/data/youtrack/apps/youtrack/web/WEB-INF/lib/charisma-app-17057.jar!/jetbrains/charisma/user/profile/profileCheckboxesConfiguration.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
[2016-05-20 10:52:47,009] [YouTrack Error] PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'checkBoxes' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localizer' defined in URL [jar:file:/data/youtrack/apps/youtrack/web/WEB-INF/lib/charisma-app-17057.jar!/jetbrains/charisma/main/YouTrackLocalizationConfiguration.xml]: Cannot resolve reference to bean 'messagesContainer' while setting bean property 'messagesContainer'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messagesContainer' defined in URL [jar:file:/data/youtrack/apps/youtrack/web/WEB-INF/lib/jetbrains.mps.internationalization.runtime-2848.jar!/jetbrains/mps/internationalization/runtime/localizationMessagesConfiguration.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Problems loading additional translations from file /data/youtrack/langtest/en_UK/all_en.properties

(mentioned file /data/youtrack/langtest/en_UK/all_en.properties exists and is readable)

0

Please sign in to leave a comment.