Drupal - Display correct button text based on selected language

Imekamilika Ilichapishwa Miaka 5 iliyopita Kulipwa wakati wa kujifungua
Imekamilika Kulipwa wakati wa kujifungua

We have a multi-language Drupal site that has 3 buttons displayed on the homepage. These buttons are displayed from the [login to view URL] template file so the button text is hard coded as seen here:

<div class="container">

<a class="ls-btn-blue" href="/search-products?field_product_part_style_value=All&field_product_part_type_value=All&field_product_part_design_value=All&field_product_part_material_value=All&field_product_inch_metric_value=All&field_product_bore_type_value=All">PRODUCT SEARCH</a>

<a class="ls-btn-blue" href="/CatalogDownload">PRODUCT CATALOG</a>

<a href="/request-quote" class="ls-btn-blue">REQUEST A QUOTE</a>

</div>

We need some IF/THEN wrapper code around those buttons to determine the selected language and display the "PRODUCT CATALOG" and "REQUEST A QUOTE" text in the appropriate language.

Drupal HTML PHP

Kitambulisho cha Mradi: #17799565

Kuhusu mradi

28 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

Imetuzwa kwa:

cssexpert

Hi, I have 7+ years experience in Drupal multi-language development, looking forward to work with you. I'm pretty sure I can do this in hours. Thanks. Frank.

$35 USD kwa siku 1
(Maoni 89)
5.7

28 wafanyakazi huru wanazabuni wastani wa $117 kwa kazi hii

gopalvora

Hello I have gone through the details of your project and we find it well within our capabilities. I offer a wide range of services, including Web design, PHP/MySQL web application development, Open source Zaidi

$194 USD kwa siku 6
(Maoni 518)
8.3
ngocleanh

This is my job. I can fix it. I'm ready to work now. ========================================================

$55 USD kwa siku 0
(Maoni 292)
7.7
Ruzannah

Hi, send please url, admin and ftp login detaios. Don't award please, need to look first, but seems simple work. Regards, Ruzanna

$55 USD kwa siku 1
(Maoni 62)
6.4
Itblast

I am expert e-commerce and business solutions developer with more than 8 years of professional experience with complex database, front-end and back-end programming. I love new challenges and learn new technologies very Zaidi

$155 USD kwa siku 3
(Maoni 46)
6.0
ProfSoftStudio

Greeting Thanks for invitation, I am ready to fix the issues please provide me site details Looking for yours response Thanks with regards

$55 USD kwa siku 0
(Maoni 81)
5.7
neerajmorya

Hello, I will fix the buttons in drupal to show correct language text. I have read the job description and understand the issue. I have 7+ years of professional experience in Website and Android app designing and devel Zaidi

$79 USD kwa siku 2
(Maoni 25)
5.1
Swatintf

Hello, Ohk got it, I have gone through project description, I have few doubts to clear. Please PM me so we can discuss and move ahead. Portfolio: https://www.freelancer.in/u/Swatintf I have 5+ year experience Zaidi

$140 USD kwa siku 3
(Maoni 2)
2.4
amitchoudhry

i am expert in drupal framework and i will provide you the specific wrapper code around those buttons to determine the selected language and display the "PRODUCT CATALOG" and "REQUEST A QUOTE" .................

$100 USD kwa siku 2
(Maoni 1)
1.0
ratvas

Hi, I am 5yrs experienced Drupal developer, this request is clear and I can start immediately to work on it. If you are interested to get my service, please contact me. Thanks, Ratomir

$111 USD kwa siku 2
(Maoni 0)
3.4
srivanikannan

Drupal expert I have around 12+yrs of experience in Drupal web application development (starting from Drupal 4.7 to Drupal 8.5). I have a strong expertise in Drupal8 specifically in module/theme development, data mi Zaidi

$100 USD kwa siku 1
(Maoni 0)
0.0