- Posts: 5
- Thank you received: 0
Language problem: Contact form
-
natt
Inactive member - Topic Author
- New Member
Less
More
1 year 8 months ago #50262
by natt
Language problem: Contact form was created by natt
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6742
- Thank you received: 715
1 year 8 months ago #50265
by milos
Replied by milos on topic Language problem: Contact form
Hello,
As you can see on our demo site the contact form is looking normally. Can you check the language files you are using if they are complete?
Regards,
Milos
As you can see on our demo site the contact form is looking normally. Can you check the language files you are using if they are complete?
Regards,
Milos
Please Log in to join the conversation.
-
natt
Inactive member - Topic Author
- New Member
Less
More
- Posts: 5
- Thank you received: 0
1 year 8 months ago #50271
by natt
Replied by natt on topic Language problem: Contact form
Hi,
this file?
this file?
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6742
- Thank you received: 715
1 year 8 months ago #50272
by milos
Replied by milos on topic Language problem: Contact form
Correct. Just make sure this is the file from the “languages” folder of Joomla. There are two identical language files. You can add all missing strings there or modify existing ones.
Regards,
Milos
Regards,
Milos
Please Log in to join the conversation.
-
natt
Inactive member - Topic Author
- New Member
Less
More
- Posts: 5
- Thank you received: 0
1 year 8 months ago #50273
by natt
Replied by natt on topic Language problem: Contact form
Hello,
Thank you very much for the information!
I have one last question.
Where can I customize the "number_format" for the prices etc.? I need the German format or a point.
For example:
€20.000,00
7.000,50 sqm
MfG
F.
Thank you very much for the information!
I have one last question.
Where can I customize the "number_format" for the prices etc.? I need the German format or a point.
For example:
€20.000,00
7.000,50 sqm
MfG
F.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6742
- Thank you received: 715
1 year 8 months ago #50276
by milos
Replied by milos on topic Language problem: Contact form
Hello,
To change the currency symbol in Joomla 4 and move currency right from the number, edit files:
/templates/sparky_framework/html/com_content/featured/default_item.php
/templates/sparky_framework/html/com_content/category/blog_item.php
For example, to change from $ to EUR, change this
to this:
Also, in this file: /templates/sparky_framework/html/com_content/article/default.php change this:
to this:
Regards,
Milos
To change the currency symbol in Joomla 4 and move currency right from the number, edit files:
/templates/sparky_framework/html/com_content/featured/default_item.php
/templates/sparky_framework/html/com_content/category/blog_item.php
For example, to change from $ to EUR, change this
Code:
if( $field->label == "Price") {
echo '<div class="price">' . '$' . number_format($field->value) . '</div>';
}
to this:
Code:
if( $field->label == "Price") {
echo '<div class="price">' . number_format($field->value) . ' EUR' . '</div>';
}
Also, in this file: /templates/sparky_framework/html/com_content/article/default.php change this:
Code:
if( $field->name == "price" && $field->value) {
echo '<div class="price">' . '$' . number_format($field->value) . '</div>';
}
to this:
Code:
if( $field->name == "price" && $field->value) {
echo '<div class="price">' . number_format($field->value) . ' EUR' . '</div>';
}
Regards,
Milos
Please Log in to join the conversation.
Time to create page: 0.240 seconds