Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: Test: This text is written in French

  1. #11
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by Cybershaolin View Post
    Ahhhhh! Now I got it loud and clear. That is the part I did not understand. Now I changed my language for French in Usercp and wrote another test message in French. It works perfectly here. Thanks for taking the time to explain it to me in a simple way.

    But on my own forum, my forum language is in French, I also (optional as you said) set my UserCP in French, and I tried writing messages in arabic and italian. The result showed in arabic and italian without translating anything. This is why I still don't understand. It seems not to be working on my forum.

    Also, tell me: the language addon (see screenshot) for BBCode (choose or not) when we compose a message and in the Quick answer as well, is this an addon in version 3.1.2 because I still did not upgrade yet and I don't have it in 3.1.1?
    It all works as it is designed. It means - mod will add Lang BBCode only when you have set user default language and only this language. If it is not appropriate, you can just tell to not add it in editor.

    On all other cases you have to add lang BBCode manually. So you wrote messages in two other languages and you tell the mod that those are in French, but those are not and that is why those were not translated.

    Translation of message written in other language will happen only when lang BBCode is added. Otherwise Google get confused and returns just same text (it is like you go to French-English translator and give him text in Polish - he will just give you this text back, because he will not understand it). So adding lang BBCode to message tells the mod to which translator he should go for translation.

    Also please note that options to editors are added only if user has set his default language other that forum default language. Otherwise it has no sense because it means that user writes in forum language and there is no lang BBCode to add. So please for test just change your default language to other that forum language and you will see that options will appear in your editors

  2. #12

    Default

    Quote Originally Posted by vBET View Post
    It all works as it is designed. It means - mod will add Lang BBCode only when you have set user default language and only this language. If it is not appropriate, you can just tell to not add it in editor.

    On all other cases you have to add lang BBCode manually. So you wrote messages in two other languages and you tell the mod that those are in French, but those are not and that is why those were not translated.

    Translation of message written in other language will happen only when lang BBCode is added. Otherwise Google get confused and returns just same text (it is like you go to French-English translator and give him text in Polish - he will just give you this text back, because he will not understand it). So adding lang BBCode to message tells the mod to which translator he should go for translation.

    Also please note that options to editors are added only if user has set his default language other that forum default language. Otherwise it has no sense because it means that user writes in forum language and there is no lang BBCode to add. So please for test just change your default language to other that forum language and you will see that options will appear in your editors
    OK I got that part too... Only one more question:

    When you said this on post #6:
    Quote Originally Posted by vBET View Post
    lang BBCode is added automatically according to user default language. If it is not set or is same as forum language, then nothing is set.
    Let's give an example:

    -My forum language is french
    -User own language is spanish but did not set it up in Usercp
    -User writes a post in Spanish

    Here is the example from the settings above:

    Does that mean if user who did not set is own user language (let say it's spanish, but on my forum, the forum will assume it will be french since it is supposed to use forum language when it's not set) and that the forum language is french...? if that user writes in Spanish, we will be supposed to see the BBCode with the translated text in French. Is that it?

    Because, if it's not the case and the text in spanish is not translated at all in this example, this goes back to my request here: http://www.vbenterprisetranslator.co...-language.html :

    Quote Originally Posted by Cybershaolin View Post
    Really nice product. Thanks again for this hack.

    I would need help or have a request to do. For new users on the forum, it's OK since they have a field to select their default language but for all existing users, there is no value set, it just puts "Not set". Could you give me a query to execute in order to automatically put a default language instead of "Not set" (in my case it's french for the default value)? This is because even if you put a thread on the forum telling to the users to go modify their information, many of them will not read that thread.

    It would be nice if I can change this automatically for my existing users.

    Thanks.
    Quote Originally Posted by vBET View Post
    You do not have to set default language for your users. If no default language is set, then vBET assumes that it is same as forum language and take no action when new messages are coming (cause those are in forum language)
    Do you understand what I mean? If this is not possible doing it by query, at least, there should be an option in admincp for admins who would wish to change a specific user language to a desired language...
    Last edited by Cybershaolin; 16-11-09 at 06:23.

  3. #13
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Thats correct. It works this way.

    So assuming you want to add possibility to set user default language by Admin CP - right?

  4. #14

    Default

    Quote Originally Posted by vBET View Post
    Thats correct. It works this way.
    My last post was a little bit long, sorry. In your quote above, is this your answer to my question I asked here:
    Quote Originally Posted by Cybershaolin View Post

    Example:

    -My forum language is french
    -User own language is spanish but the user did not set it up in Usercp
    -User writes a post in Spanish
    -Result post on the forum will be in French with BBCode inserted?
    More specifically, is this your answer to the last question?

    Quote Originally Posted by vBET View Post
    So assuming you want to add possibility to set user default language by Admin CP - right?
    Yes, that would be great. Also, it would be nice to add the default language selected by the user showing in their user profile page when we go check their page. That would also be a great addon in order for an admin to find out about user's selected languages.

  5. #15
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by Cybershaolin View Post
    My last post was a little bit long, sorry. In your quote above, is this your answer to my question I asked here:

    More specifically, is this your answer to the last question?
    No. Please note that mod always keeps original text (in fact as post content is kept only the original text). So in this scenario post will stay in original (as always) and BBCode will not be added automatically, because user didn't set default language. So at the end it will not be translated, since it is in other language and it says that it is in forum default language.
    I will add in TODO list to automatically recognize the language (will be configurable because this will have impact on performance and not everyone will need this).

    Quote Originally Posted by Cybershaolin View Post
    Yes, that would be great. Also, it would be nice to add the default language selected by the user showing in their user profile page when we go check their page. That would also be a great addon in order for an admin to find out about user's selected languages.
    Ok. Added in TODO list:
    - Allow to set user default language from Admin CP
    - Show user default language in member info.
    - Automatically recognize real post message if Google allows to do this by CURL (configurable + emails notice to administrator to check it in case if Google make mistake).

    Is it alright?

  6. #16

    Default

    Quote Originally Posted by vBET View Post
    No. Please note that mod always keeps original text (in fact as post content is kept only the original text). So in this scenario post will stay in original (as always) and BBCode will not be added automatically, because user didn't set default language. So at the end it will not be translated, since it is in other language and it says that it is in forum default language.
    I will add in TODO list to automatically recognize the language (will be configurable because this will have impact on performance and not everyone will need this).
    It's logical and it follows what I have experimented. This is why I was asking especially for all existing users on my forum, before installing this hack. This has no real impact on the new users registering on the forum since they must choose a default language at the registration process but it has some impact for old users who did not select any default language. If those users writes in their own language, and different from the forum language (without having chosen their default language, which in this case would remain the same as the default forum language) nothing will be translated (unless they add a BBCode manually, but they must know about that...). It's something to tell all my old users to go and set their default language or add a BBCode manually but it's something else assuming they will.

    This cleared out my question. Thanks for having clarified that. Yes, it would be great if everything can be detected automatically. Are you sure that this can be achieved?

    Quote Originally Posted by vBET View Post
    Ok. Added in TODO list:
    - Allow to set user default language from Admin CP
    - Show user default language in member info.
    - Automatically recognize real post message if Google allows to do this by CURL (configurable + emails notice to administrator to check it in case if Google make mistake).

    Is it alright?
    This sound great. This would help a lot. (at least for me).
    Last edited by Cybershaolin; 17-11-09 at 03:31.

  7. #17
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by Cybershaolin View Post
    IThis cleared out my question. Thanks for having clarified that. Yes, it would be great if everything can be detected automatically. Are you sure that this can be achieved?
    No I'm not sure - I just have in mind that Google can recognize language, but I didn't check yet does this functionality is available by CURL API. Also I do not know how it will behave for really short messages. Or what if Google will not be sure. Or how mod should behave if user has set default language, but Google tells that it is in some other language (I think it will be configurable: trust user, trust Google + send email notification each time when it happens). So it is a little challenge here but we like it
    Last edited by vBET; 17-11-09 at 21:25.

  8. #18

    Default

    Anyhow, many of these problems or questioning would be cleared out by the impementation of this here: http://www.vbenterprisetranslator.co...ot-do-yet.html

    So, maybe it would be a good idea to not make things more complicated and remain with the actual way of working, but it's still up to you to go ahead or not...

  9. #19
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    OK - I know now that It is possible to recognize language by CURL. Also that Google makes mistakes, but is so kind that tells how sure he is about his guess (0 - not at all, 1 - 100%, everything between - you know what).

    So at this moment my proposition for this feature is to make it configurable with options:
    - Always trust user (best for performance - Google is not asked when new message is coming, all other options will ask Google about real language)
    - Always trust Google (Google result is always used as real language - not good for short messages)
    - Trust user but ask Google (in such case if there are differences between what user marks and what Google is telling administrator will get email about it)
    - Trust Google when result is trust worthy (another parameter will tell how sure Google must be to use his result - i.e. 0.3)

    And one more thing - Google will not be asked if user in any place of message set lang BBCode manually.

    What do you think about this?
    Last edited by vBET; 20-11-09 at 01:38.

  10. #20

    Default

    Good idea.

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •