VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: Ronny Buelund on July 26, 2011, 18:08:05 PM

Title: VirtueMart 2 - Danish Language pack
Post by: Ronny Buelund on July 26, 2011, 18:08:05 PM
Here is an installable language pack for VirtueMart - site/admin - based on 2.0RC2



[attachment cleanup by admin]
Title: Re: VirtueMart 2 - Danish Language pack
Post by: jjk on July 26, 2011, 18:38:23 PM
Quote from: Ronny Buelund on July 26, 2011, 18:08:05 PM
...based on 2.0Beta2

looks more like "based on VM2RC2" for me  ;)
Title: Re: VirtueMart 2 - Danish Language pack
Post by: Ronny Buelund on July 26, 2011, 18:39:31 PM
Sorry - you're right :-)
Title: Re: VirtueMart 2 - Danish Language pack
Post by: Milbo on July 26, 2011, 21:19:19 PM
Please provide me the tutorial for the language installer, would be nice to add that to the instructions for translators.
Title: Re: VirtueMart 2 - Danish Language pack
Post by: Ronny Buelund on July 27, 2011, 01:12:06 AM
Here you are: http://docs.joomla.org/Creating_language_packs_for_extensions_in_Joomla_1.6
Title: Re: VirtueMart 2 - Danish Language pack
Post by: jjk on July 27, 2011, 08:23:04 AM
Just another hint in case you overlooked one or the other change concering building installers for J1.6+. If you type phrases like "installer adapter", "extension installer" or "install extensions manifest" into the search field on docs.joomla.org, you will see descriptions of API changes, new hooks, etc.
Title: Re: VirtueMart 2 - Danish Language pack
Post by: mic1004a on November 18, 2011, 10:30:40 AM
Hi there

Does anyone have an update for this  8)

Mic
Title: Re: VirtueMart 2 - Danish Language pack
Post by: Per Hertz on December 20, 2011, 20:41:24 PM
Where can we put additions to the DK language files?
Here is one:
en-GB.com_virtuemart.ini:
COM_VIRTUEMART_USER_FORM_EDIT_BILLTO_EXPLAIN="Only in case shipment address is different from billing address,<br />click »%s« button below"
->
da-DK.com_virtuemart.ini:
COM_VIRTUEMART_USER_FORM_EDIT_BILLTO_EXPLAIN="Hvis forsendelsesadressen er forskellig fra faktureringsadressen,<br />så klik på »%s«-knappen nedenfor"
/Hz
Title: Re: VirtueMart 2 - Danish Language pack
Post by: jjk on December 20, 2011, 22:26:24 PM
The above DK language files by Ronny Buelund are five months old already. Meanwhile the developers have changed a lot, so using the old files would always show some gaps in the translation. How about if you try to complete/update the most important one (I suppose the Frontend da-DK.com_virtuemart.ini) by comparing it to the up to date en-GB language file(s), which you will find if you follow this link:
http://forum.virtuemart.net/index.php?topic=89336.0 (http://forum.virtuemart.net/index.php?topic=89336.0) and then post it back here?  ;)
Title: Re: VirtueMart 2 - Danish Language pack
Post by: design609 on January 04, 2012, 17:24:00 PM
Seems like the attached Danish language zip file cannot be downloaded with Firefox - worked in IE. But Firefox(FF V8.0) only delivers a index.php file
Title: Re: VirtueMart 2 - Danish Language pack
Post by: jjk on January 04, 2012, 18:28:31 PM
If you are using the new Firefox 8 for downloading files, it might store the zip file below as "index.php". In order to get a usable zip file, either rename it to the orginal file name (save as...) or use a different browser for downloading the file. Previous versions of Firefox, including FF7 work normal too.
The problem is a conflict between FF8+ and the SMF 2.0.x Forum software.
Title: Re: VirtueMart 2 - Danish Language pack
Post by: design609 on January 20, 2012, 01:28:00 AM
The Danish language attachment to this post as mentioned is a few month old.
While using it on VM 2.0 (stable) Joomla 1.5.25 I got problems with outgoing email to the customer on the order confirm email.

Error in mail:
<b>Warning</b>:  sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in <b>/home/xxxxxxxxx/public_html/dev/libraries/joomla/methods.php</b> on line <b>138</b><br />

The solution for this was by trial an error:
In the language pack (frontend da-DK.com_virtuemart.ini) the translation states:
COM_VIRTUEMART_CART_MAIL_SHOPPER_SUMMARY="du købte og bekræftede em ordre på i alt %1$s hos %2$s."
This I think have to be:
COM_VIRTUEMART_CART_MAIL_SHOPPER_SUMMARY="<p><b>Ordrebekræftigelse</b></p><p>Du købte og bekræftede en ordre hos %1$s</p>"

Took out %2$s To fix the mail sprintf error (worked for me at least)

Also the insertion in same language file for:
VMPAYMENT_STANDARD_PAYMENT_INFO="Betalingform"
VMPAYMENT_STANDARD_ORDER_NUMBER="Ordrenummer"
VMPAYMENT_STANDARD_AMOUNT="Samlet beløb til betaling"

is crucial upon checkout-thank-you screen
Hope this might help someone save some time.
Cheers
Title: Re: VirtueMart 2 - Danish Language pack -update
Post by: Rittermann on February 29, 2012, 11:44:09 AM
New danish da-DK.com_virtuemart.ini for VM 2.0.2 :)

[attachment cleanup by admin]
Title: Re: VirtueMart 2 - Danish Language pack
Post by: Kupernikuz on February 29, 2012, 17:43:59 PM
Complete language pack including the XML file for installing via the Joomla Extensionmanager. VirtueMart ver. 2.0.2
http://plan3.dk/nyt-fra-plan3 (http://plan3.dk/nyt-fra-plan3)

Title: Re: VirtueMart 2 - Danish Language pack
Post by: Rittermann on March 01, 2012, 12:08:28 PM
Thank you  ;D