[Skip to main content](#vessel-content)

#   VAT translation appears in strange places

##

- **[Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile")**
- [![Alouette00's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/53482-alouette00 "View Alouette00's Profile") Topic Author
- [ Offline](/forum/user/53482-alouette00)

Less More

- Posts: 43
- Thank you received: 7
-
-

3 years 6 months ago [\#350982](#350982) by [Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile")  *[VAT translation appears in strange places](/forum/6-japanese-support/906254-vat-translation-appears-in-strange-places#350982 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 7.4.33  毎回お世話になります。  今回は単語 VAT=’=消費税’ の翻訳に不具合ある気がしたので、確認してください。  ・英語版での決済にて消費税の単語が日本語 ・VAT番号の単語の表示が、管理画面やユーザアドレスが違う  Falang　proも利用しており、翻訳できる単語は英語から日本語にしています。  また英文に関しては、多くの文章はそのまま利用してます。  だから日本語を英語に翻訳することはなく、奇妙に感じました。  よろしくお願いします。")* was created by *[Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile")*

-- HikaShop version -- : 4.7.2
-- Joomla version -- : 4.2.9
-- PHP version -- : 7.4.33

毎回お世話になります。

今回は単語 VAT=’=消費税’ の翻訳に不具合ある気がしたので、確認してください。

・英語版での決済にて消費税の単語が日本語
・VAT番号の単語の表示が、管理画面やユーザアドレスが違う

Falang proも利用しており、翻訳できる単語は英語から日本語にしています。

また英文に関しては、多くの文章はそのまま利用してます。

だから日本語を英語に翻訳することはなく、奇妙に感じました。

よろしくお願いします。

- [ ![2023-04003.jpeg](/forum/attachment/56892) ](/forum/attachment/56892 "2023-04003.jpeg") [ ](/forum/attachment/56892?download=1 "2023-04003.jpeg")
- [ ![2023-04004.jpeg](/forum/attachment/56893) ](/forum/attachment/56893 "2023-04004.jpeg") [ ](/forum/attachment/56893?download=1 "2023-04004.jpeg")
- [ ![2023-04005.jpeg](/forum/attachment/56894) ](/forum/attachment/56894 "2023-04005.jpeg") [ ](/forum/attachment/56894?download=1 "2023-04005.jpeg")
- [ ![2023-04006.jpeg](/forum/attachment/56895) ](/forum/attachment/56895 "2023-04006.jpeg") [ ](/forum/attachment/56895?download=1 "2023-04006.jpeg")
- [ ![2023-04007.jpeg](/forum/attachment/56896) ](/forum/attachment/56896 "2023-04007.jpeg") [ ](/forum/attachment/56896?download=1 "2023-04007.jpeg")
- [ ![2023-04008.jpeg](/forum/attachment/56897) ](/forum/attachment/56897 "2023-04008.jpeg") [ ](/forum/attachment/56897?download=1 "2023-04008.jpeg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC85MDYyNTQtdmF0LXRyYW5zbGF0aW9uLWFwcGVhcnMtaW4tc3RyYW5nZS1wbGFjZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

3 years 6 months ago [\#350984](#350984) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[VAT translation appears in strange places](/forum/6-japanese-support/906254-vat-translation-appears-in-strange-places#350984 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 7.4.33  毎回お世話になります。  今回は単語 VAT=’=消費税’ の翻訳に不具合ある気がしたので、確認してください。  ・英語版での決済にて消費税の単語が日本語 ・VAT番号の単語の表示が、管理画面やユーザアドレスが違う  Falang　proも利用しており、翻訳できる単語は英語から日本語にしています。  また英文に関しては、多くの文章はそのまま利用してます。  だから日本語を英語に翻訳することはなく、奇妙に感じました。  よろしくお願いします。")*

Hi,

> Falang proも利用しており、翻訳できる単語は英語から日本語にしています。

Then, in the label of the custom field address_VAT you should leave it to "VAT number" and then translate it in Japanese. It seems you've double translated the field label or something.

> 英語版での決済にて消費税の単語が日本語

That's normal. It comes from the tax namekey you've configured. Go in the menu System&gt;Taxes and click on the "manage tax rates" button. There, you'll see the list of tax rates you've configured. What you've entered for the namekey is what will be used during the checkout. So I would recommend creating a new rate with the name you want in english as the namekey.
Then, you can translate it with a translation override under the Languages tab of the HikaShop configuration.
For example, if you use the text "Sales tax" in English for your tax rate, you can then add the translation override like:
SALES_TAX="消費税"

The following user(s) said Thank You: [Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC85MDYyNTQtdmF0LXRyYW5zbGF0aW9uLWFwcGVhcnMtaW4tc3RyYW5nZS1wbGFjZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile")**
- [![Alouette00's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/53482-alouette00 "View Alouette00's Profile") Topic Author
- [ Offline](/forum/user/53482-alouette00)

Less More

- Posts: 43
- Thank you received: 7
-
-

3 years 6 months ago -  3 years 6 months ago [\#350990](#350990) by [Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile")  Replied by *[Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile")* on topic *[VAT translation appears in strange places](/forum/6-japanese-support/906254-vat-translation-appears-in-strange-places#350990 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 7.4.33  毎回お世話になります。  今回は単語 VAT=’=消費税’ の翻訳に不具合ある気がしたので、確認してください。  ・英語版での決済にて消費税の単語が日本語 ・VAT番号の単語の表示が、管理画面やユーザアドレスが違う  Falang　proも利用しており、翻訳できる単語は英語から日本語にしています。  また英文に関しては、多くの文章はそのまま利用してます。  だから日本語を英語に翻訳することはなく、奇妙に感じました。  よろしくお願いします。")*

返信ありがとうございます。

Falang proによる二重翻訳があることは理解できて、その箇所の修正は終えました。

しかし tax namekey での翻訳オーバーライドは機能しません。と言うより、設定変更の仕方が理解できません。

言われたように英語で税率の管理のレートを’Sales Tax’に修正したことでen-GBで英語表記されます。

そこまではわかります。

その次にこの英語表記を日本語にするための言語のオーバーライド設定できず、先に進めません。

わたしは、予め言語の定数に設置されている場合は、その言語の定数を利用してテキストを変更、変換できる。
できない、或いはない場合は、開発元へ言語の定数を設置をしていだたいた後にテキスト変更、変換できるとの認識してます。

だから変更、変換したいテキストを自分側で言語の定数を作り、言語のオーバーライドできることが理解できません。

ご迷惑おかけしますが、もう少し分かりやすく教えてください。

- [ ![2023-04161.jpeg](/forum/attachment/56898) ](/forum/attachment/56898 "2023-04161.jpeg") [ ](/forum/attachment/56898?download=1 "2023-04161.jpeg")
- [ ![2023-04162.jpeg](/forum/attachment/56899) ](/forum/attachment/56899 "2023-04162.jpeg") [ ](/forum/attachment/56899?download=1 "2023-04162.jpeg")
- [ ![2023-04163.jpeg](/forum/attachment/56900) ](/forum/attachment/56900 "2023-04163.jpeg") [ ](/forum/attachment/56900?download=1 "2023-04163.jpeg")
- [ ![2023-04164.jpeg](/forum/attachment/56901) ](/forum/attachment/56901 "2023-04164.jpeg") [ ](/forum/attachment/56901?download=1 "2023-04164.jpeg")

Last edit: 3 years 6 months ago by [Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC85MDYyNTQtdmF0LXRyYW5zbGF0aW9uLWFwcGVhcnMtaW4tc3RyYW5nZS1wbGFjZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile")**
- [![Alouette00's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/53482-alouette00 "View Alouette00's Profile") Topic Author
- [ Offline](/forum/user/53482-alouette00)

Less More

- Posts: 43
- Thank you received: 7
-
-

3 years 6 months ago [\#350994](#350994) by [Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile")  Replied by *[Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile")* on topic *[VAT translation appears in strange places](/forum/6-japanese-support/906254-vat-translation-appears-in-strange-places#350994 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 7.4.33  毎回お世話になります。  今回は単語 VAT=’=消費税’ の翻訳に不具合ある気がしたので、確認してください。  ・英語版での決済にて消費税の単語が日本語 ・VAT番号の単語の表示が、管理画面やユーザアドレスが違う  Falang　proも利用しており、翻訳できる単語は英語から日本語にしています。  また英文に関しては、多くの文章はそのまま利用してます。  だから日本語を英語に翻訳することはなく、奇妙に感じました。  よろしくお願いします。")*

その後もオーバーライドについて色々調べてました。

けど私の知識では’Sales tax’をSALES_TAXを使用してSALES_TAX="消費税"とオーバーライドすることができません。

何かヒントをください。

よろしくお願いします。

- [ ![2023-04-17001.jpeg](/forum/attachment/56903) ](/forum/attachment/56903 "...-04-17001.jpeg") [ ](/forum/attachment/56903?download=1 "...-04-17001.jpeg")
- [ ![2023-04-17002.jpeg](/forum/attachment/56904) ](/forum/attachment/56904 "...-04-17002.jpeg") [ ](/forum/attachment/56904?download=1 "...-04-17002.jpeg")
- [ ![2023-04-17003.jpeg](/forum/attachment/56905) ](/forum/attachment/56905 "...-04-17003.jpeg") [ ](/forum/attachment/56905?download=1 "...-04-17003.jpeg")
- [ ![2023-04-17004.jpeg](/forum/attachment/56906) ](/forum/attachment/56906 "...-04-17004.jpeg") [ ](/forum/attachment/56906?download=1 "...-04-17004.jpeg")
- [ ![2023-04-17005.jpeg](/forum/attachment/56907) ](/forum/attachment/56907 "...-04-17005.jpeg") [ ](/forum/attachment/56907?download=1 "...-04-17005.jpeg")
- [ ![2023-04-17006.jpeg](/forum/attachment/56908) ](/forum/attachment/56908 "...-04-17006.jpeg") [ ](/forum/attachment/56908?download=1 "...-04-17006.jpeg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC85MDYyNTQtdmF0LXRyYW5zbGF0aW9uLWFwcGVhcnMtaW4tc3RyYW5nZS1wbGFjZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

3 years 6 months ago [\#351006](#351006) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[VAT translation appears in strange places](/forum/6-japanese-support/906254-vat-translation-appears-in-strange-places#351006 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 7.4.33  毎回お世話になります。  今回は単語 VAT=’=消費税’ の翻訳に不具合ある気がしたので、確認してください。  ・英語版での決済にて消費税の単語が日本語 ・VAT番号の単語の表示が、管理画面やユーザアドレスが違う  Falang　proも利用しており、翻訳できる単語は英語から日本語にしています。  また英文に関しては、多くの文章はそのまま利用してます。  だから日本語を英語に翻訳することはなく、奇妙に感じました。  よろしくお願いします。")*

Hi,

What you did looks good.
It should work like that.
And it's normal Joomla's override system doesn't have the SALES_TAX translation key since it's generated on the fly when displaying the tax rate based on its namekey.

Could you provide a backend access via our contact form so that we could check on the situation ?
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

The following user(s) said Thank You: [Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC85MDYyNTQtdmF0LXRyYW5zbGF0aW9uLWFwcGVhcnMtaW4tc3RyYW5nZS1wbGFjZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

3 years 6 months ago [\#351038](#351038) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[VAT translation appears in strange places](/forum/6-japanese-support/906254-vat-translation-appears-in-strange-places#351038 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 7.4.33  毎回お世話になります。  今回は単語 VAT=’=消費税’ の翻訳に不具合ある気がしたので、確認してください。  ・英語版での決済にて消費税の単語が日本語 ・VAT番号の単語の表示が、管理画面やユーザアドレスが違う  Falang　proも利用しており、翻訳できる単語は英語から日本語にしています。  また英文に関しては、多くの文章はそのまま利用してます。  だから日本語を英語に翻訳することはなく、奇妙に感じました。  よろしくお願いします。")*

Hi,

Thanks for the access.
The issue is to do with the "Non-latin translation keys" setting in the HikaShop configuration. When activated, you can even use the japanese text as the original text. However, the translation key is generated as a sha1 hash of the text.
So, the sha1 of "Sales Tax" is "4fea00b363ddfb47f342e95b6cfc0fd9e2232175" and then the key is uppercased and prefixed with the letter T to get the translation key to use. So you actually need to add: Code:

T4FEA00B363DDFB47F342E95B6CFC0FD9E2232175="消費税"

I did this on your website and now I get the proper japanese translation:
[ i.imgur.com/nHNoirc.png](https://i.imgur.com/nHNoirc.png)

The following user(s) said Thank You: [Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC85MDYyNTQtdmF0LXRyYW5zbGF0aW9uLWFwcGVhcnMtaW4tc3RyYW5nZS1wbGFjZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile")**
- [![Alouette00's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/53482-alouette00 "View Alouette00's Profile") Topic Author
- [ Offline](/forum/user/53482-alouette00)

Less More

- Posts: 43
- Thank you received: 7
-
-

3 years 6 months ago [\#351060](#351060) by [Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile")  Replied by *[Alouette00](/forum/user/53482-alouette00 "View Alouette00's Profile")* on topic *[VAT translation appears in strange places](/forum/6-japanese-support/906254-vat-translation-appears-in-strange-places#351060 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 7.4.33  毎回お世話になります。  今回は単語 VAT=’=消費税’ の翻訳に不具合ある気がしたので、確認してください。  ・英語版での決済にて消費税の単語が日本語 ・VAT番号の単語の表示が、管理画面やユーザアドレスが違う  Falang　proも利用しており、翻訳できる単語は英語から日本語にしています。  また英文に関しては、多くの文章はそのまま利用してます。  だから日本語を英語に翻訳することはなく、奇妙に感じました。  よろしくお願いします。")*

確かに変更されてます。

また今回’sha1’の意味を理解することができました。

大変ありがとうございました。

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC85MDYyNTQtdmF0LXRyYW5zbGF0aW9uLWFwcGVhcnMtaW4tc3RyYW5nZS1wbGFjZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.110 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
