vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   2 language (https://vborg.vbsupport.ru/showthread.php?t=66732)

s7az2mm 06-30-2004 09:07 PM

2 language
 
hi man
i want have 2 language when users want post a message
a Editor Like this below
its very IMportant for me HELP PLZ

http://rapmail.net/editor



languge i want is Farsi (like arabic)

thanx man

Logicus 07-01-2004 02:39 AM

Actually, I am in much need of something similar, however, I have located a superb example of the desired effect.

http://forum.persiantools.com/

If you can't be bothered to register, just use my account.

Username: Logicus
Password: lookhere

Log in, go to User CP, (and after changing to English if you so wish), look at the profile editor. I don't care what you do, as I don't read Persian, and I don't intend to learn.

However, I'm trying to create the same effect for Arabic on www.lexiglobal.net/forums, a board still in production that I hope will have several languages.

Unfortunately, although I have installed Arabic, checked the rtl settings, and allowed for an Arabic font, I can't make Arabic textboxes work at lexiglobal. The four cases do not show up in there respective places relative to the word, and the right to left text is incredibly buggy.

Help is much appreciated!

Logicus 07-02-2004 02:09 AM

anyone? :rolleyes:

Merjawy 07-02-2004 09:45 PM

I would try to help you Logicus but only if I understand what you're trying to do :)

I looked at that board and profile editor, but I fail to see what you're talking about

Logicus 07-02-2004 11:35 PM

thank you for trying, but --

1) Changing right to left text to left to right text and vice-versa in a single text-box.
2) Changing from Farsi to English and vice-versa in the same text-box.
3) Automatically altering between the four letter cases (for example, the same letter that starts a word, is in the middle of a word, ends a word, or is alone, looks different)

s7az2mm, if you're still here, you could probably find out by asking in that forum... assuming you know Farsi. They would know what hack was used, and whether or not it has been released in this forum. I could not find it, however.

Merjawy 07-03-2004 01:53 AM

I am still not clear on that sorry for being so thick

in general switching languages should take care of that, however if you plan on doing that in a single post .. how about inserting an HTML for DIR in there? you could do that by adding a button in the editor or wherever call it LTR or RTL or both when clicked it inserts a the direction code


as for the letter cases you can add the char. code in that button too
.. the code for each language intended ... UTF8 or windows-1256 for arabic and so forth.

I do understand where the letter changes its shape wither that be start, middle, end of the word or alone

PS.. just make sure if you do that button idea to close each tag after the inteded effect, just like any bbcode buttons otherwise you will endup with a mess :)

I hope I got you right :)

Logicus 07-04-2004 03:00 AM

thanks. It sounds like you know what I'm trying to do, but unfortunately, I don't know how to hack. I'll have to, umm..., learn :rolleyes: , but at least I have a better idea of how it can be done.

Merjawy 07-04-2004 03:06 AM

no hack really. its more less adding something like bbcode or so. add a button in the eidtor and assign a bbcode to it.. when pressed you get change of code with opening and closing tag and in between you type in your text in the desired lingo :)


no promise here, but if I get time I will make an example for you... just time is hard to come by



good luck


All times are GMT. The time now is 12:34 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01016 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete