| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 9749|Reply: 11
Collapse the left

translate problem.

[Copy link]

 Cambodia

Post time: 2016-08-18 15:39
| Show all posts |Read mode
Excuse me,How can I translate these place when change languague?Please advise,thanks so much!




This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2016-08-18 21:58
| Show all posts
1) Just update to the latest revision (484).
This will translate the "Register" link.

2) Forum names (and all the data entered by admin/member hands) are not translatable.

3) System group names are still not translatable.

 Cambodia

 Author| Post time: 2016-08-19 04:24
| Show all posts
vot 2016-8-18 21:58
1) Just update to the latest revision (484).
This will translate the "Register" link.

I really want to translate the forum,What else do?{:3_44:}
Post time: 2016-08-19 20:38
| Show all posts
Nothing. As @vot said, there is not possible to translate data entered by user. You can NOT translate forum names, categories, topics, posts, blogs content, etc. If you want, you can put a URL to service e.g. google translator.

There is also plan B.

1. You can simply put strings e.g. {lang tr_forum1} {lang  tr_forum2} ... {lang tr_forum10} etc. inside your template (footer, header, sidebar, whatever it is possible).
2. Open language/en/lang_template.php and put

  1. 'tr_forum1'                        => 'About',
  2. 'tr_forum2'                        => 'Discussion',
  3. 'tr_forum3'                        => 'Support'
Copy the Code


then

Open another language, for example: language/pl/lang_template.php and do the same operation but in different language

  1. 'tr_forum1'                        => 'O nas',
  2. 'tr_forum2'                        => 'Dyskusja',
  3. 'tr_forum3'                        => 'Wsparcie'
Copy the Code


etc.

Final results? When user switch from english to polish, will see that some part of forum is possible to translate.

You can make a nice HTML design that will be similar to forum list or something better. I have no idea what would you like to do because there are many ways to improve/modify our plan B.

 Cambodia

 Author| Post time: 2016-08-22 06:39
| Show all posts
kaaleth 2016-8-19 20:38
Nothing. As @vot said, there is not possible to translate data entered by user. You can NOT translat ...

Thank you so much, I will try it.

 Russia

Post time: 2016-08-22 07:50
| Show all posts
kaaleth:
There is also plan B.

There is also plan C.

Just use a special CMS supporting a multilingual content.
Every article in that type CMS must be entered many times for every language supported.

Moreover, there is also plan D.


Just integrate into your pages a script working with any online translating API,
and you will be able to trabslate from any language to any other...

 Cambodia

 Author| Post time: 2016-08-22 10:00
| Show all posts
vot 2016-8-22 07:50
There is also plan C.

Just use a special CMS supporting a multilingual content.

excuse me, can u tell me what CMS suppoting a multilingual content?

 Cambodia

 Author| Post time: 2016-08-22 13:27
| Show all posts
kaaleth 2016-8-19 20:38
Nothing. As @vot said, there is not possible to translate data entered by user. You can NOT translat ...

hi,I tried plan B, but not work.
language/en/lang_template.php





template/default/common/footer.htm


This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x
Post time: 2016-08-23 23:00
| Show all posts
golden 2016-8-22 12:27
hi,I tried plan B, but not work.
language/en/lang_template.php

Try to edit other language file.

I will take a look at it when I find some of free time.

 Cambodia

 Author| Post time: 2016-08-24 05:09
| Show all posts
kaaleth 2016-8-23 23:00
Try to edit other language file.

I will take a look at it when I find some of free time.

ok,thank you.
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-04-25 16:18 GMT+3 , Processed in 0.099920 sec., 12 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list