Jump to content


Photo

New messages for Zurmo 7.5.0

translations 7.5.0

  • Please log in to reply
10 replies to this topic

#1 Sergey Vishniakov

Sergey Vishniakov

    Member

  • Moderators
  • 26 posts
  • LocationHamburg, Germany

Posted 09 October 2012 - 08:14 PM

Hello Zurmo Team,

7.5.0 Zurmo version has been released today. It would be nice if you will merge messages* repositories with new/updated files related with newest version as soon as it would be possible
Sergey Vishniakov
Zurmo Team

#2 Ivica

Ivica

    Advanced Member

  • Moderators
  • 565 posts

Posted 10 October 2012 - 06:37 AM

Sergey, do you want new messages from Zurmo 0.7.50 to be merged into translation repositories?

#3 Sergey Vishniakov

Sergey Vishniakov

    Member

  • Moderators
  • 26 posts
  • LocationHamburg, Germany

Posted 10 October 2012 - 07:57 AM

Exactly! :)
Sergey Vishniakov
Zurmo Team

#4 Ivica

Ivica

    Advanced Member

  • Moderators
  • 565 posts

Posted 11 October 2012 - 08:08 AM

Unfortunately, this must be done manually for now, but we created Pivotal task for this(to automate this process):
https://www.pivotalt...y/show/37576091

Sergey, if you are interested to help us with development of this script, I can provide you code that we are using to create file/folder skeleton for translations.

#5 Sergey Fayngold

Sergey Fayngold

    Moderator

  • Members
  • PipPipPip
  • 49 posts
  • LocationHamburg

Posted 11 October 2012 - 08:13 PM

Hello Ivica,

can you please give me the code?

PS: Why don't you use the default way of message export provided by the Yii framework?

#6 Sergey Vishniakov

Sergey Vishniakov

    Member

  • Moderators
  • 26 posts
  • LocationHamburg, Germany

Posted 12 October 2012 - 04:05 PM

Hi Ivica,

Please provide it for Sergey Fayngold and he will create the script :)
Sergey Vishniakov
Zurmo Team

#7 Ivica

Ivica

    Advanced Member

  • Moderators
  • 565 posts

Posted 15 October 2012 - 05:25 AM

I attached files for creating new translation messages.


Usage: php -f createSkeletonLanguagePack.php <instanceDirectory> <language>
where "instanceDirectory" the directory is of the Zurmo instance containing the protected directory
"language" the name of the language for the new language pack is.

After executing this, you will see a new folder created "messages-<language>".


I think you can use good part of this script, and you need just to add code that will compare if translation message already exist in translation files, and if not, you can add it.

Attached Files



#8 Sergey Fayngold

Sergey Fayngold

    Moderator

  • Members
  • PipPipPip
  • 49 posts
  • LocationHamburg

Posted 15 October 2012 - 09:15 AM

Hello Ivica,

thank you. I will take a look on it, as soon as I have time.

#9 Sergey Vishniakov

Sergey Vishniakov

    Member

  • Moderators
  • 26 posts
  • LocationHamburg, Germany

Posted 15 October 2012 - 09:32 AM

I attached files for creating new translation messages.


Usage: php -f createSkeletonLanguagePack.php <instanceDirectory> <language>
where "instanceDirectory" the directory is of the Zurmo instance containing the protected directory
"language" the name of the language for the new language pack is.

After executing this, you will see a new folder created "messages-<language>".


I think you can use good part of this script, and you need just to add code that will compare if translation message already exist in translation files, and if not, you can add it.



Thanks Ivica,

But really, why don't you use the default way of message export provided by the Yii framework?
Sergey Vishniakov
Zurmo Team

#10 Ivica

Ivica

    Advanced Member

  • Moderators
  • 565 posts

Posted 15 October 2012 - 12:30 PM



Thanks Ivica,

But really, why don't you use the default way of message export provided by the Yii framework?

This script is contributed by our community member, so we don't know why he didn't used Yii functions for this. Maybe he couldn't use it because Zurmo file/folder structure is customized and different for Yii default folder structure.
Sergey, can you please investigate if it would be better to use Yii messages export functions, and if you could write script for this task?

#11 Sergey Vishniakov

Sergey Vishniakov

    Member

  • Moderators
  • 26 posts
  • LocationHamburg, Germany

Posted 15 October 2012 - 02:26 PM

Well. We will see what we can do
Sergey Vishniakov
Zurmo Team





Also tagged with one or more of these keywords: translations, 7.5.0

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users