inherit
263904
0
Mar 24, 2021 2:15:52 GMT -8
stafforum
2
March 2021
stafforum
|
Post by stafforum on Mar 21, 2021 20:47:43 GMT -8
Greetings to all. I know that this platform does not support Russian, so I decided to translate everything manually. But I ran into some problems. I was able to make some edits thanks to the answers on this forum, but I did not find answers to all of my questions. I understand, I probably ask a lot, but maybe someone will have 10 minutes of free time to answer me. I marked in red those parts that I could not translate (rename). Thank you all very much in advance
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Mar 22, 2021 0:06:10 GMT -8
Layout Templates...Forum Wrapper<p id="welcome"> {if !$[current_user.is_member]} Welcome Guest. {if $[login_link] || $[register_link]} Please $[login_link]{if $[login_link] && $[register_link]} or {/if}$[register_link]. {/if} {else} <span><!-- Welcome-->Добро пожаловать $[current_user.name].</span> <!-- $[logout_link] --> <a href="$[logout_link.href]">выйти</a> {/if} </p> * can do the same with guest portion for login and register links if desired
Thread >> Post List<div class="controls"> <!--$[post.quote_button]--><a class="button quote-button" href="$[post.quote_button.href]" role="button">Цитировать</a> <!--$[post.edit_button]--><a class="button edit-button" href="$[post.edit_button.href]" role="button">редактировать</a> $[post.likes.button] $[post.select_options] </div> Thread >> Quick Reply<div class="container quick-reply"> <div class="title-bar"> <ul class="controls"><li><!--$[reply_button]--><a class="reply-button" href="$[reply_button.href]" role="button">Ответить</a></li></ul> <h2>Quick Reply</h2> </div> <div class="content cap-bottom"> $[form.header] {if $[form.created_by_guest_name.input]} <div class="guest_name"> <label>Guest Name:</label> $[form.created_by_guest_name.input] </div> {/if} <div class="message"> $[form.message.input] </div> $[captcha] <!--$[form.post.button]--><input id="$[form.id]_post_button" name="post" type="submit" value="Опубликовать быстрый ответ" class="ui-button"> $[form.footer] </div> </div>
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Mar 22, 2021 0:12:54 GMT -8
Greetings to all. I know that this platform does not support Russian, so I decided to translate everything manually. But I ran into some problems. I was able to make some edits thanks to the answers on this forum, but I did not find answers to all of my questions. I understand, I probably ask a lot, but maybe someone will have 10 minutes of free time to answer me. I marked in red those parts that I could not translate (rename). Thank you all very much in advance For the Welcome line, go to your forum wrapper template ( Admin > Themes > Layout Templates > Forum Wrapper) and find this section of code: <p id="welcome"> {if !$[current_user.is_member]} Welcome Guest. {if $[login_link] || $[register_link]} Please $[login_link]{if $[login_link] && $[register_link]} or {/if}$[register_link]. {/if} {else} <span> Welcome, $[current_user.name].</span> $[logout_link] {/if} </p>
The 3rd line (Welcome Guest) and the 8th line (Welcome) can be directly translated there.
For the other items, try the Easy Text Switcher - it should be able to switch most, if not all, of those.
|
|
inherit
252032
0
Apr 26, 2024 23:51:41 GMT -8
Retread
Tribbial Pursuit.
5,017
January 2018
retread
|
Post by Retread on Mar 22, 2021 1:24:52 GMT -8
I created a big long reply but I'm hesitant to clutter up this thread with it, so I'll put that in a spoiler. I agree with Lynx about using the Easy Text Switcher plugin. I like what Chris did with the coding in the Forum Wrapper since it changes the text for the links. I'm not sure if including the class attribute for the links would be useful or not, but I included it in the modifications I suggested. Hi stafforum To replace the text in your buttons, the easiest way would be to use this plugin: Easy Text SwitcherFrom your Admin panel, navigate: Admin Home> Plugins> Plugin LibraryThen search for SwitcherWhen you navigate to the plugin, you can then simply click the Install on Forum button. Then enter the new text you like for the various buttons on the Text Switch Settings tab. Remember to click the Save Changes button.
Changing the text and links in the Welcome section will require a bit more work. From your Admin panel, navigate: Admin Home> Themes> Layout TemplatesSelect the desired theme from the dropdown to the right of Current ThemeThen click Forum WrapperThat layout template should look similar to this. I've highlighted the areas where you might like change the text in Green to the new (Russian) text of your choice. Red indicates template variables that you'll replace with HTML, text, and different variables. Change the variables ONLY in the locations indicated in Red, not in other places where the same variables might appear.Change $[login_link] to: <a class="$[login_link.class]" href="$[login_link.href]">Авторизоваться</a> Change $[register_link]to: <a class="$[register_link.class]" href="$[register_link.href]">регистр</a> Change $[logout_link]to: <a class="$[logout_link.class]" href="$[logout_link.href]">Выйти</a> I used Google Translate for the Russian text above. My apologies if it isn't correct but I'm sure you can fix that part.
|
|
inherit
263904
0
Mar 24, 2021 2:15:52 GMT -8
stafforum
2
March 2021
stafforum
|
Post by stafforum on Mar 22, 2021 2:09:09 GMT -8
Wow guys, you all are amazing, many many thx for your help I am very grateful to you
You have now helped not only me, but a large community of animal lovers who, for technical reasons, were left without their place for communication and we decided to start all over again using this platform. Thanks again
|
|