VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: phaperen on July 22, 2013, 14:14:23 PM

Title: Dutch language - COLON and SPACE
Post by: phaperen on July 22, 2013, 14:14:23 PM
Hi,

why is the Dutch translation without COLON + SPACE? Now the string and value stick together.
How can I change this?

EN
COM_VIRTUEMART_PRODUCT_SALESPRICE="Sales price: "

NL
COM_VIRTUEMART_PRODUCT_SALESPRICE="Verkoopprijs"

<name>com_virtuemart - nl-NL</name>
<version>2013-07-19-05-05-57</version>
<creationDate>19.07.2013</creationDate>
<author>VirtueMart language team</author>

Thanks


[attachment cleanup by admin]
Title: Re: Dutch language - COLON and SPACE
Post by: jjk on July 23, 2013, 17:52:07 PM
That's just a typo in the dutch frontent language file. I've adjusted it already in SVN (where the VM code is stored).
If you want to change it yourself, you can adjust the following three lines in the file ...\language\nl-NL\nl-NL.com_virtuemart.ini to read:

COM_VIRTUEMART_PRODUCT_SALESPRICE="Verkoopprijs: "
COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX="Verkoopprijs zonder BTW: "
COM_VIRTUEMART_PRODUCT_SALESPRICE_WITH_DISCOUNT="Verkoopprijs met korting: "

Make shure your text editor saves the file encoded as 'utf-8 without BOM' after you made the change.

Title: Re: Dutch language - COLON and SPACE
Post by: phaperen on July 23, 2013, 20:18:47 PM
Changed the .ini file with Windows Notepad, this text editor will standard save the file as UTF-8 (Notepad++ for example not).
Worked fine for me. :)
Title: Re: Dutch language - COLON and SPACE
Post by: jjk on July 23, 2013, 20:54:41 PM
Quote from: phaperen on July 23, 2013, 20:18:47 PM
(Notepad++ for example not)
In Notepad++ the default encoding can be set in 'Settings > Preferences > New Document > Encoding"
Title: Re: Dutch language - COLON and SPACE
Post by: phaperen on July 23, 2013, 21:06:23 PM
Correct, thanks for the tip.