knitting

Author Topic: Translate VirtueMart online with Transifex  (Read 11987 times)

horus_68

  • Beginner
  • *
  • Posts: 39
Translate VirtueMart online with Transifex
« on: February 16, 2012, 23:45:57 pm »
We've opened a Virtuemart 2 translation project using the Transifex translation platform for those who don't want to set up a translation environment on their own computers. Transifex is easy to use. For each line of text there is an 'Autotranslate' button, but please don't take it for granted that the automatic translation is always correct. We would like to have a good translation, not a funny word by word (automatic) translation.

The master files are updated to be in sync with Virtuemart SVN
This project seeks to help virtuemart users with the translation and assist Virtuemart Team to prepare localized language packs.
The official language releases are posted at the Virtuemart Site and SVN

=> How to join translation?
1- Create an account at Transifex (free plan) https://www.transifex.net/plans/
2- Please apply to your language team at Virtuemart transifex project https://www.transifex.net/projects/p/virtuemart/
You will be able to translate online after approval.
3- Team leaders will be appointed by VirtueMart team

[Update Nov 2012:  Note: Please also apply to the second project for "Virtuemart Payment plugins" -
- https://www.transifex.com/projects/p/virtuemartplugins/ ]
==============
=> You started a translation for a language not listed?
Please post the link at this VirtueMart forum so it could be uploaded there and improved/finished

=> Download files under translation?
Please use the Transifex client and our pre-configured configuration file. Download via browser requires further changes on the file name.

=> Want to keep a copy of translations files in your computer?
 (a visual guide will be available soon!)
1- Use the transifex client inside a folder for your language files - http://help.transifex.net/features/client/index.html
2- Start the client only to create the skeleton and config file, then stop, don't run the autolocal setting!
(note: the first time you run the client it requires our Transifex login account)
3- Change the config file and use this config file instead: http://db.tt/e6eHmZW4
(included are the lang maps and file name changes).
4- Then use this command at your project directory (sub-folders for languages will be created):
Code: [Select]
tx.exe pull -l xx_XXNote: change xx_XX by your ISO lang code (note the underscore)

=>> To download master files use the SVN files or enter this command at the client:
Code: [Select]
tx.exe pull -s
=>> You can also download all files from the transifex project using this command:
Code: [Select]
tx.exe pull -a

Important note for Linux users:
The config file posted here needs to be edited for Linux systems: in the path lines all \ has to be /
You can edit the file with a plain text editor!

=> Make it an install package?
If you download the files using the transifex client and also using the cofig file provided, the language INI files will be downloaded into 2 separeted folders (admin and site).
Then you just need to create a XML file with the proper data to be installable (as any other extension language)


So, lets translate... one line or two each day!

Some languages are already near 100%! And yours?
Apply for a team language here https://www.transifex.net/projects/p/virtuemart/


This is how it looks when editing!
(auto-translation available in each filed to avoid repetitive tasks)



How to create local lang packs:
http://dev.virtuemart.net/projects/virtuemart/wiki/Writing_translation

Gruz

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 159
  • Copyleft (є) all rights reversed
Re: Translate VirtueMart online with Transifex
« Reply #1 on: February 18, 2012, 01:16:47 am »
Is this possible to download the latest language version as an installable pack somewhere?

Because if no, then it's useless for the majority of the users. The files have to be no only downloades, but also renamed.

My suggestion is to write a script to automatically prepare and deploy installable language packs somewhere at the VM server. 
Your installable language for VM2: http://gruz.org.ua/virtuemart-language-files.html

horus_68

  • Beginner
  • *
  • Posts: 39
Re: Translate VirtueMart online with Transifex
« Reply #2 on: February 18, 2012, 03:09:14 am »
Is this possible to download the latest language version as an installable pack somewhere?
Because if no, then it's useless for the majority of the users. The files have to be no only downloades, but also renamed.

Not at all! Please read the line above:
=> To keep a copy of translations files in your computer?

If you use the config file using the link above. Then your download will have the correct names, files will be in 2 folders (admin and site). Plain and clean... also ready to be copied into a site.
To be installed you just need to create a xml file but that is not the point here.
Transifex its for translations and they are not the official packs to common users donwload!

On the download to use:
Virtuemart will make the files available in their download / SVN areas
Also each translators team can distribute their packages if they want!

So please use the config file for transifex client that I posted above and then run again the command:

a) To Download master files (en-GB):
Code: [Select]
tx.exe pull -s
b) To Download translations for a single language
Code: [Select]
tx.exe pull -l xx_XX(Where xx_XX its the language code)

c) or a full copy of the transifex project (all files and translations)
Code: [Select]
tx.exe pull -a
Here you will find more options:
http://help.transifex.net/features/client/

Also: Please use the client new version (0.7)

Gruz

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 159
  • Copyleft (є) all rights reversed
Re: Translate VirtueMart online with Transifex
« Reply #3 on: February 18, 2012, 03:31:35 am »
Thanks! Great!
Your installable language for VM2: http://gruz.org.ua/virtuemart-language-files.html

horus_68

  • Beginner
  • *
  • Posts: 39
Re: Translate VirtueMart online with Transifex
« Reply #4 on: March 31, 2012, 07:25:32 am »
On transifex virtuemart translation project you can find, below the language list, a section for "releases" (Transifex releases, not Virtuemart releases!):
Each Transifex release gets independent progress bar and its own front page and helps maintaining the translation for each language.
See here: https://www.transifex.net/projects/p/virtuemart/

    All Resources – A collection of all the resources of this project (auto-managed by Transifex)
    extras – Special addons for Virtuemart
    VirtueMart Admin – Virtuemart Admin files
    VirtueMart Site – VirtueMart site files

    Virtuemart Payment plugins – Virtuemart Payment core plugins
[Update Nov 2012: moved to a separated project - https://www.transifex.com/projects/p/virtuemartplugins/ ]



From there you can have all files for your language on that "release" and see what need to be done (independent progress bar and own front page).
This way you can focus your language team to one set of language files.

Note: you need to contact your translators and plan with then, there is no way to split the language team!
The full list of files its allays available at the main entrance page or at "all releases"

horus_68

  • Beginner
  • *
  • Posts: 39
Re: Translate VirtueMart online with Transifex
« Reply #5 on: March 31, 2012, 10:56:31 am »
Virtuemart ships some plugins that only works on specific countries (eg. payment and shipment plugins) so they do not need to be translated on all languages

You can see the list of plugins/countries at Translation of payment and shipment language files  http://forum.virtuemart.net/index.php?topic=100525.0
A comment will also be included on each language file header!

For Transifex translators [Update Nov 2012]
The special plugins for virtuemart (payment and shipment) have now a separate project at Transifex
VirtueMart plugins localization - https://www.transifex.com/projects/p/virtuemartplugins/

The main project are just for the core files required to any language, its located as always at:
VirtueMart localization - https://www.transifex.com/projects/p/virtuemart/

mileksa

  • Beginner
  • *
  • Posts: 1
    • http://www.led-sijalice.com
Re: Translate VirtueMart online with Transifex
« Reply #6 on: June 23, 2012, 17:48:36 pm »
Nice... many thanks for this  :) :) :) :)

nlhnam

  • Beginner
  • *
  • Posts: 12
    • Trang sức CHiCHi
Re: Translate VirtueMart online with Transifex
« Reply #7 on: January 01, 2013, 22:59:10 pm »
Great use of Transifex. I'll translate VM into Vietnamese. Thanks for your great VM :)
My virtuemart site - Trang sức Nữ: http://www.nutrangnu.com * http://chichi.com.vn

VitorOtero

  • Beginner
  • *
  • Posts: 1
Re: Translate VirtueMart online with Transifex
« Reply #8 on: January 02, 2013, 04:14:50 am »
 Vitor Otero requested the creation of a Galician (Spain) language translation for the project VirtueMart.

horus_68

  • Beginner
  • *
  • Posts: 39
Re: Translate VirtueMart online with Transifex
« Reply #9 on: May 18, 2013, 10:01:05 am »
May 18th - New version of languages files uploaded to Transifex.
Update required by Virtuemart new version (2.0.22)
There are 4 new files, 3 of them was split from 2 previous ones. Old translations from those files where reused.
Please revise your language translations! - https://www.transifex.com/projects/p/virtuemart/

If you use Transifex client its required a new config file as there are new files.
Backup/rename your translations folder and download it all again!

.TX Transifex client config file: download it here - https://sites.google.com/site/transjoomla/joomla-projects/tx-customized-config-download/virtuemart

jjk

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2328
  • using Piwik instead of Google Analytics
Re: Translate VirtueMart online with Transifex
« Reply #10 on: June 29, 2013, 10:59:06 am »
25th June 2013
The source language files have been updated again in preparation for a new VirtueMart release.
Translators, please check if your translation is up to date at https://www.transifex.com/projects/p/virtuemart/
 :)

maxispin

  • Jr. Member
  • **
  • Posts: 135
Re: Translate VirtueMart online with Transifex
« Reply #11 on: July 22, 2013, 02:24:44 am »
I realize that updates for lang files are not created automatically, or am I wrong?

@ http://virtuemart.net/community/translations/virtuemart

I have translated some missing terms in Finnish, but they are not showing up to the downloadable lang pack.
VM 2.0.24c <-2.0.24<-2.0.22c, Joomla 2.5.14, PHP version 5.3.22, MySQL version 5.0.96-community

jjk

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2328
  • using Piwik instead of Google Analytics
Re: Translate VirtueMart online with Transifex
« Reply #12 on: July 22, 2013, 05:08:41 am »
As far as I know Transifex sends updates to virtuemart.net once per day, usually some time during the night. But I can update the language packs manually, too. Check again in an hour or so...

maxispin

  • Jr. Member
  • **
  • Posts: 135
Re: Translate VirtueMart online with Transifex
« Reply #13 on: July 22, 2013, 09:27:55 am »
Thanks Jjk !

Good to know that there is auto-schedule for updates.
VM 2.0.24c <-2.0.24<-2.0.22c, Joomla 2.5.14, PHP version 5.3.22, MySQL version 5.0.96-community

axxo1

  • Beginner
  • *
  • Posts: 1
Re: Translate VirtueMart online with Transifex
« Reply #14 on: August 25, 2013, 08:11:29 am »
Polish only 14%? Come on fellas let's get together and do it!

VirtueMart Forum

Re: Translate VirtueMart online with Transifex
« Reply #14 on: August 25, 2013, 08:11:29 am »