Commit 75f08501ac2b0810de2362efce7b46c81b8414f2
1 parent
b3869f87
add eng translates
Showing
3 changed files
with
91 additions
and
6 deletions
Show diff stats
common/messages/en/app.php
... | ... | @@ -4,4 +4,88 @@ return [ |
4 | 4 | 'Submit' => 'Применить', |
5 | 5 | 'Save' => 'Сохранить', |
6 | 6 | 'Company name' => 'Название компании', |
7 | -]; | |
8 | 7 | \ No newline at end of file |
8 | + | |
9 | + | |
10 | + | |
11 | + | |
12 | + 'Услуги' => 'Services', | |
13 | + 'О клинике' => 'About the clinic', | |
14 | + 'Галерея' => 'Gallery', | |
15 | + 'Статьи' => 'Articles', | |
16 | + 'Цены' => 'Price', | |
17 | + 'Контакты' => 'Contacts', | |
18 | + 'Персонал' => 'Medical staff', | |
19 | + 'Отзывы' => 'Feedback', | |
20 | + 'Кристал Естет' => 'CRYSTAL ESTET', | |
21 | + 'ваш стоматологический центр' => 'YOUR DENTAL CENTER', | |
22 | + 'Мы заботимся о Вашем здоровье.' => 'We care about your health.', | |
23 | + 'Все виды стоматологических услуг европейского качества.' => 'All types of dental services of European quality.', | |
24 | + 'Приглашаем на диагностику.' => 'Welcome to the diagnosis.', | |
25 | + 'Первая консультация — бесплатно.' => 'The first consultation is free.', | |
26 | + 'Записаться' => 'Sign up', | |
27 | + 'Наши услуги' => 'OUR SERVICES', | |
28 | + 'Профилактика' => 'PREVENTION', | |
29 | + 'Точно диагностируем вид и стадию болезни, назначаем лечение, консультируем по интересующим вопросам.' => 'Accurately diagnose the type and stage of the disease, prescribe treatment and advise you on issues of interest.', | |
30 | + 'Терапия' => 'THERAPY', | |
31 | + 'Проводим ультразвуковую чистку, лечим кариес, ставим пломбы, отслеживаем пародонтоз.' => 'We carry out ultrasonic cleaning, treat caries, put seals and monitor periodontal disease.', | |
32 | + 'Ортопедия' => 'ORTHOPEDICS', | |
33 | + 'Устанавливаем виниры, вкладки, коронки, нейлоновые/силиконовые/металлические/керамические протезы.' => 'We install veneers, inlays, crowns, nylon / silicone / metal / ceramic prosthesis.', | |
34 | + 'Хирургия' => 'SURGERY', | |
35 | + 'Делаем удаление коренных и подвижных зубов, имплантацию MegaGen, операции при пародонтите, процедуры для сохранения зубов, пластическое улучшение челюсти.' => 'We make the removal of molars and mobile teeth, the implantation of MegaGen, periodontal surgery and procedures for the preservation of teeth and plastic improvement of the jaw.', | |
36 | + 'Ортодонтия' => 'ORTHODONTICS', | |
37 | + 'Установка всех видов брекет-систем, исправляем неправильный прикус + формируем правильный, выравниваем зубы, убираем любые деформации и другое.' => 'Installation of all types of bracket systems, correction of the wrong bite + formation of the correct one, alignment of the teeth, remove any deformation and etc. ', | |
38 | + 'Косметология' => 'COSMETOLOGY', | |
39 | + 'Оказываем услуги чистки лица, контурной пластики, уколы гиалуроновой кислотой, омолаживающие и лечебные процедуры, пилинг, лазерное удаление рубцов, мезотерапия и другие.' => 'We provide facial cleansing, contouring, hyaluronic acid injections, rejuvenating and healing procedures, peeling, laser scar removal, mesotherapy etc. ', | |
40 | + 'Клиентов' => 'CUSTOMERS', | |
41 | + 'Года работы' => 'YEARS OF WORK', | |
42 | + 'Сертифицированных докторов' => 'CERTIFIED DOCTORS', | |
43 | + 'Видов услуг' => 'TYPES OF SERVICES', | |
44 | + 'Наши партнёры' => 'Our partners', | |
45 | + 'Стоматологический центр «Кристал-Естет»' => 'DENTAL CENTER "CRYSTAL-ESTET"', | |
46 | + 'Стоматологическая клиника "КРИСТАЛ ЕСТЕТ" была основана в 2015 году.' => 'Dental clinic "CRYSTAL ESTET" was founded in 2015. ', | |
47 | + 'Главная цель — обслуживать наших клиентов по уровню европейского образца.' => 'The main goal is to serve our customers according to the level of the European sample.', | |
48 | + 'В клинике используется только качественное немецкое оборудование:' => 'The clinic uses only high-quality German equipment:', | |
49 | + 'и другое.' => 'and more.', | |
50 | + 'Мы уделяем внимание каждому клиенту, заботимся о комфорте, делаем комплексный осмотр и предоставляем помощь первоклассной команды врачей.' => 'We pay attention to every client, take care of comfort, do a comprehensive examination and provide assistance to a first-class team of doctors.', | |
51 | + 'Стоматология в клинике “КРИСТАЛ ЕСТЕТ” — это исключительно профессиональный подход.' => 'Dentistry in the clinic “CRYSTAL ESTET” is an exclusively professional approach.', | |
52 | + 'Зная о распространенной боязни стоматологических кабинетов, как у больших, так и маленьких посетителей клиники, мы всё делаем так, чтобы процесс лечения прошел безболезненно и с максимальным комфортом. Теперь ваш поход к стоматологу будет ассоциироваться с отдыхом.' => 'We know about the widespread fear of dental offices of the clinic’s visitors. The treatment process is painless and passes with maximum comfort. Now your trip to the dentist will be associated with rest.', | |
53 | + 'Ждем Вас в нашей клинике!' => 'WAITING FOR YOU IN OUR CLINIC', | |
54 | + 'Записаться на приём' => 'Make an appointment', | |
55 | + 'Написать нам' => 'Text us', | |
56 | + 'На страницу контактов' => 'Back to the contact page', | |
57 | + 'Адрес' => 'ADDRESS', | |
58 | + 'Телефон' => 'Phone', | |
59 | + 'Связаться с нами1' => 'GET IN TOUCH', | |
60 | + 'Имя' => 'Name', | |
61 | + 'Email' => 'E-mail', | |
62 | + 'Сообщение' => 'Message', | |
63 | + 'Номер телефона' => 'Phone number', | |
64 | + 'Отправить' => 'Send', | |
65 | + "Услуга" => 'Service', | |
66 | + 'Время' => 'Time', | |
67 | + 'Дата' => 'Data', | |
68 | + "Выберите услугу" => 'Choose service', | |
69 | + 'Обратная связь' => 'Feedback form' , | |
70 | + | |
71 | + | |
72 | +/* | |
73 | + * | |
74 | + | |
75 | + | |
76 | + | |
77 | + | |
78 | + * */ | |
79 | + | |
80 | + | |
81 | + | |
82 | + | |
83 | + | |
84 | + | |
85 | + | |
86 | + | |
87 | + | |
88 | + | |
89 | + | |
90 | + | |
91 | + | |
92 | + ]; | |
9 | 93 | \ No newline at end of file | ... | ... |
frontend/views/layouts/main.php
... | ... | @@ -307,6 +307,7 @@ _________________________________________________________ --> |
307 | 307 | ?> |
308 | 308 | <?php $lang = explode("-",\Yii::$app->language);?> |
309 | 309 | <div class="langs"> |
310 | + <a<?php if($lang['0'] == 'en') echo ' class="active"'; else echo ' href="/en"';?>>en</a> | |
310 | 311 | <a<?php if($lang['0'] == 'ru') echo ' class="active"'; else echo ' href="/ru"';?>>ru</a> |
311 | 312 | <a<?php if($lang['0'] == 'ua') echo ' class="active"'; else echo ' href="/ua"';?>>ua</a> |
312 | 313 | </div> |
... | ... | @@ -655,7 +656,7 @@ _________________________________________________________ --> |
655 | 656 | |
656 | 657 | <p class="text-center"> |
657 | 658 | <?= Html::submitButton( |
658 | - 'Отправить', | |
659 | + \Yii::t('app','Отправить'), | |
659 | 660 | [ |
660 | 661 | 'class' => 'send-form btn btn-lg btn-template-primary', |
661 | 662 | ] | ... | ... |
frontend/views/site/contact.php
... | ... | @@ -95,7 +95,7 @@ JS; |
95 | 95 | <div class="icon"> |
96 | 96 | <i class="fa fa-phone"></i> |
97 | 97 | </div> |
98 | - <h3> Телефон </h3> | |
98 | + <h3> <?=\Yii::t('app','Телефон')?> </h3> | |
99 | 99 | <?php |
100 | 100 | // echo '<p class="text-muted"> This number is toll free if calling from Great Britain otherwise we advise you to use the electronic form of communication .</p>'; |
101 | 101 | ?> |
... | ... | @@ -151,7 +151,7 @@ JS; |
151 | 151 | |
152 | 152 | <div class="col-md-12"> |
153 | 153 | <div class="heading"> |
154 | - <h2> <?=\Yii::t('app', 'Связаться с нами')?> </h2> | |
154 | + <h2> <?=\Yii::t('app', 'Связаться с нами1')?> </h2> | |
155 | 155 | </div> |
156 | 156 | </div> |
157 | 157 | |
... | ... | @@ -176,12 +176,12 @@ JS; |
176 | 176 | <div class="col-sm-6"> |
177 | 177 | <?= $form->field($contact, 'email') |
178 | 178 | ->textInput() |
179 | - ->label('Email'); ?> | |
179 | + ->label(\Yii::t('app','Email')); ?> | |
180 | 180 | </div> |
181 | 181 | <div class="col-sm-6"> |
182 | 182 | <?= $form->field($contact, 'phone') |
183 | 183 | ->textInput() |
184 | - ->label('Телефон'); ?> | |
184 | + ->label(\Yii::t('app','Телефон')); ?> | |
185 | 185 | </div> |
186 | 186 | <div class="col-sm-12"> |
187 | 187 | <?= $form->field($contact, 'message') | ... | ... |