Recent Topics

[Today at 02:36:49 AM]

[October 13, 2019, 04:49:36 AM]

[October 12, 2019, 03:21:40 AM]

[October 10, 2019, 10:55:16 AM]

[October 10, 2019, 09:02:38 AM]

[October 09, 2019, 03:55:44 PM]

[October 09, 2019, 12:00:44 PM]

[October 07, 2019, 01:19:41 PM]

[October 07, 2019, 09:16:21 AM]

[October 07, 2019, 09:01:58 AM]

[October 07, 2019, 02:05:20 AM]

[October 06, 2019, 05:08:01 PM]

[October 06, 2019, 02:39:29 PM]

[October 06, 2019, 12:10:46 PM]

[October 04, 2019, 09:37:55 AM]

[October 04, 2019, 01:37:48 AM]

[October 03, 2019, 11:51:26 AM]

[September 30, 2019, 06:20:43 AM]

[September 30, 2019, 06:20:05 AM]

[September 28, 2019, 03:41:54 PM]

[September 26, 2019, 02:13:30 AM]

[September 25, 2019, 04:04:14 PM]

[September 24, 2019, 11:25:26 AM]

Talkbox

2019 Oct 14 10:22:27
Cheav Villa: Bhante Varado  _/\_ _/\_ _/\_

2019 Oct 13 04:44:10
Cheav Villa:  _/\_ _/\_ _/\_

2019 Oct 13 01:17:17
Johann: Sadhu

2019 Oct 13 01:15:59
Khemakumara: May every living being in all realms be free from ever illness, free from danger, free from animosity and free from oppression.

2019 Oct 13 00:50:55
Khemakumara: may it be a path-and fruitful Uposatha Day

2019 Oct 12 15:40:31
Cheav Villa: May Bhante soon recover from malaria  _/\_ _/\_ _/\_

2019 Oct 12 13:47:46
Varado:  _/\_ _/\_ _/\_

2019 Oct 11 16:35:52
Cheav Villa:  _/\_ _/\_ _/\_

2019 Oct 10 10:55:45
Khemakumara: Nyom Cheav Villa

2019 Oct 10 10:54:11
Cheav Villa:  _/\_ _/\_ _/\_

2019 Oct 10 05:11:04
Khemakumara: _/\_ _/\_ _/\_ Bhante

2019 Oct 08 15:01:04
Vithou:  _/\_

2019 Oct 07 07:39:21
Johann: Good to hear

2019 Oct 07 05:48:11
Khemakumara: _/\_ _/\_ _/\_ Kana Bhante. may kana trust, that  prah  karuṇā dwells in kusalā  conditions in and outwardly.

2019 Oct 07 05:09:34
Johann: Bhante. All health and relaying on good outwardly and inwardly conditions?

2019 Oct 07 04:20:19
Khemakumara: _/\_ _/\_ _/\_ Bhante

2019 Oct 06 06:44:19
Cheav Villa:  _/\_ _/\_ _/\_

2019 Oct 06 06:24:49
Johann: Sadhu

2019 Oct 06 04:48:36
Khemakumara: something to give (in)? Today is waxing moon Uposatha! May it be a path- and fruitful give (in) day!

2019 Oct 06 04:37:01
Khemakumara:  *gift*

2019 Oct 02 16:38:31
Cheav Villa:  _/\_  _/\_ _/\_

2019 Oct 02 12:27:40
Khemakumara: Sadhu and mudita

2019 Oct 02 12:06:36
Johann: (U.Chanroth wrote in mudita: Today Buddhaparisada arrived at Ashram Thmo Duk)

2019 Oct 02 08:31:08
Chanroth: ថ្ងៃនេះពុទ្ធបរិស័ទ្ទមកដល់អាស្រមថ្មទូក _/\_ _/\_ _/\_

2019 Sep 30 06:49:48
Cheav Villa: Vandami Bhante  _/\_ _/\_ _/\_

2019 Sep 30 06:15:26
Johann: Nyom Villa

2019 Sep 29 05:35:53
Cheav Villa:  _/\_ _/\_ _/\_

2019 Sep 28 06:56:38
Johann: Nyom Chanroth wrote: "Natthi santi paraṃ sokhaṃ" No happiness higher then that of peace.

2019 Sep 28 04:22:03
Chanroth: នត្ថិ សន្តិ បរំ សុខំ

2019 Sep 28 04:06:00
Chanroth:   _/\_ _/\_ _/\_

2019 Sep 28 01:57:20
Khemakumara: _/\_ _/\_ _/\_

2019 Sep 28 01:40:27
Johann: A blessed and virtuous new-moon Uposata for those holding it today.

2019 Sep 26 01:28:41
Johann: Bhante

2019 Sep 26 01:17:26
Khemakumara: _/\_ _/\_ _/\_ Bhante

2019 Sep 23 05:39:08
Khemakumara:  _/\_ _/\_ _/\_

2019 Sep 23 05:24:36
Johann: Bhante, Bhante

2019 Sep 22 18:47:42
Johann: Kana needs to leave now for possible tomorrow again, Bhante. Much dhammic joy in further exploring here within. and a blessed halfmoon day.

2019 Sep 22 16:41:02
Johann: _/\_ Bhante Varado (batterie of mine will be off soon, just to inform)

2019 Sep 22 07:28:15
Johann: Sadhu

2019 Sep 22 03:26:27
Cheav Villa:  _/\_ _/\_ _/\_

2019 Sep 22 02:48:14
Khemakumara: may it be a path-and fruitful Uposatha Day

2019 Sep 22 02:48:14
Khemakumara: may it be a path-and fruitful Uposatha Day

2019 Sep 21 23:53:54
Vithou:  _/\_

2019 Sep 21 13:36:07
Cheav Villa:  _/\_ _/\_ _/\_

2019 Sep 21 09:37:51
Johann: A blessed and meritful Sila-day those who keep it today.

2019 Sep 20 07:29:23
Johann:  _/\_ Bhante Varado

2019 Sep 19 14:52:03
Johann: Bhante

2019 Sep 19 14:36:44
Khemakumara: Nyom saddhamma

2019 Sep 19 14:35:55
Khemakumara: _/\_ _/\_ _/\_ Bhante

2019 Sep 19 09:58:15
Cheav Villa:  _/\_ _/\_ _/\_ Bhante

2019 Sep 19 04:31:27
Khemakumara: Nyom Cheav Villa

2019 Sep 19 01:47:48
Khemakumara: _/\_ _/\_ _/\_ Bhante

2019 Sep 18 16:44:10
Johann:  _/\_ Bhante Ariyadhammika

2019 Sep 18 06:35:53
Khemakumara:  _/\_ _/\_ _/\_ Kana, Bhante and kana are well!

2019 Sep 18 06:32:01
Johann: Bhante  _/\_ Is he and Bhante well?

2019 Sep 18 04:25:43
Khemakumara: _/\_ _/\_ _/\_ Bhante

2019 Sep 18 04:10:57
Johann: Nyom Villa.

2019 Sep 18 02:48:47
Cheav Villa: Welcome, upasaka sadhamma _/\_

2019 Sep 18 02:47:31
Cheav Villa: Master Moritz _/\_

2019 Sep 18 02:47:15
Cheav Villa: Vandami Bhante _/\_ _/\_ _/\_

2019 Sep 18 01:59:53
Moritz: Good night _/\_

2019 Sep 18 01:59:44
Moritz: _/\_ Bong Villa

2019 Sep 18 01:41:47
Johann: Nyom Moritz

2019 Sep 18 01:30:08
Moritz: Welcome, upasaka sadhamma _/\_

2019 Sep 18 01:29:43
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2019 Sep 14 01:20:37
Johann: (no problem at all) A blessed and meritful conducted Uposatha those observing it today.

2019 Sep 13 16:07:47
Cheav Villa: សុំទោស _/\_

2019 Sep 13 16:06:36
Cheav Villa:  _/\_

2019 Sep 13 15:53:17
Cheav Villa: Vandami Bhante _/\_ _/\_ _/\_ Bhante Varado _/\_ _/\_ _/\_

2019 Sep 13 15:51:32
Johann:  _/\_ Bante Varado. Nyom Morotz, Nyom Villa.

2019 Sep 13 15:50:03
Cheav Villa: Master Morit  :) _/\_

2019 Sep 13 15:47:31
Moritz: _/\_ _/\_ _/\_ Bhante Varado _/\_ _/\_ _/\_ Bhante Johann _/\_ Bong Villa

2019 Sep 13 00:35:39
Khemakumara:  _/\_ _/\_ _/\_

2019 Sep 12 20:36:10
Johann: Beyound birth, stand, age, gender, lay or in robes.

2019 Sep 12 20:33:57
Johann: No way for one not gained relation at time.

2019 Sep 12 20:33:01
Johann: Beings, indeed, find only that what they are looking for, and seldom, very seldom, it's related upwatdly, even release in unbond.

2019 Sep 12 17:35:22
Johann: (Delayed) Bhante.

2019 Sep 12 16:16:22
Khemakumara: _/\_ _/\_ _/\_ Bhante Johann

2019 Sep 12 16:16:03
Khemakumara:  _/\_ _/\_ _/\_ Bhante Varado

2019 Sep 12 10:25:12
Cheav Villa: សូមសុខ សុវត្ថិភាពតាមផ្លូវ _/\_

2019 Sep 12 10:14:50
Chanroth:  _/\_ _/\_ _/\_ខ្ញុំទៅ v.n​ ដេីម្បីព្យាបាលជម្ងឺក្រពះ របស់ម្ដាយខ្ញុំ

2019 Sep 12 09:45:43
Johann: Bhante. May Bhante look at his Kuti .

2019 Sep 12 09:02:52
Varado: Thanks for fixing that. May you be well.

2019 Sep 12 08:41:30
Varado: Is the Glossary still available for download?

2019 Sep 12 08:26:31
Cheav Villa: Vandami Bhate _/\_ _/\_ _/\_ How is Bhante's health?  _/\_  _/\_ _/\_

2019 Sep 09 13:03:42
Johann:  _/\_ Bhante Varado

2019 Sep 07 11:49:16
Vithou:  _/\_

2019 Sep 07 09:12:43
Chanroth:  :( :( :(

2019 Sep 07 09:11:31
Chanroth:  _/\_ _/\_ _/\_

2019 Sep 07 09:11:27
Chanroth:  _/\_ _/\_ _/\_

2019 Sep 07 01:50:59
Cheav Villa:  _/\_ _/\_ _/\_

2019 Sep 07 00:53:49
Johann: A meritful Uposatha observance those who undertake it today.

2019 Sep 06 11:58:54
Johann:  _/\_ Bhante. Might have been an auto mail (and not so importand). He could share it in his kuti, if wishing.

2019 Sep 06 11:53:04
Yocakkhuma: There was an email in German I didn't get the meaning..?!

2019 Sep 06 11:49:40
Yocakkhuma: Hi everyone, may all beings be happy

2019 Sep 06 08:29:17
Ieng Puthy: ករុណា ព្រះអង្គ _/\_ _/\_ _/\_

2019 Sep 06 08:08:29
Johann: Atma's health is dhammata, nothing special, Nyom.

2019 Sep 06 08:06:42
Johann: Nyom Buddhi. Mudita that she could access again.

2019 Sep 06 07:41:15
Ieng Puthy:  _/\_How is Bhante health?

2019 Sep 06 07:35:57
Ieng Puthy:  _/\_ អរព្រះគុណ ព្រះអង្គ Vandami Bhante

Tipitaka Khmer

 Please feel welcome to join the transcription project of the Tipitaka translation in khmer, and share one of your favorite Sutta or more. Simply click here or visit the Forum: 

Search ATI on ZzE

Zugang zur Einsicht - Schriften aus der Theravada Tradition



Access to Insight / Zugang zur Einsicht: Dhamma-Suche auf mehr als 4000 Webseiten (deutsch / english) - ohne zu googeln, andere Ressourcen zu nehmen, weltliche Verpflichtungen einzugehen. Sie sind für den Zugang zur Einsicht herzlich eingeladen diese Möglichkeit zu nutzen. (Info)

Random Sutta
Random Article
Random Jataka

Zufälliges Sutta
Zufälliger Artikel
Zufälliges Jataka


Arbeits/Work Forum ZzE

"Dhammatalks.org":
[logo dhammatalks.org]
Random Talk
[pic 30]

Dear Visitor!

Herzlich Willkommen auf sangham.net! Welcome to sangham.net!
Ehrenwerter Gast, fühlen sie sich willkommen!

Sie können sich gerne auch unangemeldet an jeder Diskussion beteiligen und eine Antwort posten. Auch ist es Ihnen möglich, ein Post oder ein Thema an die Moderatoren zu melden, sei es nun, um ein Lob auszusprechen oder um zu tadeln. Beides ist willkommen, wenn es gut gemeint und umsichtig ist. Lesen Sie mehr dazu im Beitrag: Melden/Kommentieren von Postings für Gäste
Sie können sich aber auch jederzeit anmelden oder sich via Email einladen und anmelden lassen oder als "Visitor" einloggen, und damit stehen Ihnen noch viel mehr Möglichkeiten frei. Nutzen Sie auch die Möglichkeit einen Segen auszusprechen oder ein Räucherstäbchen anzuzünden und wir freuen uns, wenn Sie sich auch als Besucher kurz vorstellen oder Hallo sagen .
Wir wünschen viel Freude beim Nutzen und Entdecken des Forums mit all seinen nützlichen Möglichkeiten .
 
Wählen Sie Ihre bevorzugte Sprache rechts oben neben dem Suchfenster.

Wähle Sprache / Choose Language / เลือก ภาษา / ជ្រើសយកភាសា: ^ ^
 Venerated Visitor, feel heartily welcome!
You are able to participate in discussions and post even without registration. You are also able to report a post or topic to the moderators, may it be praise or a rebuke. Both is welcome if it is meant with good will and care. Read more about it within the post: Report/comment posts for guests
But you can also register any time or get invited and registered in the way to request via Email , or log in as "Visitor". If you are logged in you will have more additional possibilities. Please feel free to use the possibility to  give a blessing or light an incent stick and we are honored if you introduce yourself or say "Hello" even if you are on a short visit.
We wish you much joy in using and exploring the forum with all its useful possibilities  
Choose your preferred language on the right top corner next to the search window!

Author Topic: Show specified language Modification - Gewähle Sprache zeigen Modifikation.  (Read 2903 times)

0 Members and 1 Guest are viewing this topic.

Online Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +366/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527

Aramika   *

Dieses neue Thema wurde  aus abgetrennten Beiträgen, ursprünglich in Neu! Sprach-BBCs und Sichtbarkeit - New! Language BBCs and visibility ,  hier zu einem neuen eröffnen. Für ev. ergänzende Informationen zur Herkunft, sehen Sie bitte das Ursprugsthema ein. Anumodana!

The new topic here is made from one or more post from there Neu! Sprach-BBCs und Sichtbarkeit - New! Language BBCs and visibility . For eventual additionally information to this new Topic, please visit also the Topic of origin. Anumodana!

[Original post:]


Maybe a good future solution to divide style and generally visibility. Atma allowed him self to share some visions to Mr. Douglas:

Vielleicht eine gute zukünftige Lösung um Style und generelle Sichtbarkeit etwad zu trennen. Atma hatte sich erlaubt ein bar Visionen Herrn Douglas mitzuteilen:

Quote from: Johann in Show Specified Language v2.0
Wonderfull, wonderful, Douglas!

My person, putted a lot of effort into making a forum multilingual. Its general not so interesting under smf users and developers.
For the "own" place it was managed with lang-bbcs (put the under span tag) and make them view-able via membership. So people can see more languages. Maybe an inspiration.

My person guesses that in this case it runs under div-tag, right? Would it be possible to have such as a general selecting menu for the board, where on could select his prefered languages to view? It might be a lot of work to select for each post. How ever, it might be good if a post contains a visible info of avaliable languages and in the case one has not enabled a certain language, he/she could make it visible by click.

Or, even better, "just" making a dropdown under der board language drop down box for content language and let more languages be selectable. So it would remember on cookies either hidden or visible, I guess. Not much to do within the data base.

Would it be, is it welcome, or is an assuming to take and make use of you invention here? Especially to test.

Generally there are two things when using more languages. One is the selection of prefered languages (default is either good it setting all as default, to do not miss certain guests seeks) or by browsers setted language, if such is possible (btw: would be generally good if such is possible for the default board language, in regard of software side texts).
The other thing is the layout and distinction of the various languages. On one hand, to make the read more confortable when enable more content languages and on the other, because different languages may have different scripts (size, line space...)

Maybe take a look at this topic (even not that technical special): Neu! Sprach-BBCs und Sichtbarkeit - New! Language BBCs and visibility

Maybe also good, in the case the user does not use the bbcs, to automatical but his text under his board language.

To get in not to much confusing and most flexible, its good to hardly distinct between content language and board language.

Antes gave a good working solution for boradulanguage-strings. , as for category, my person did not tried it for now.

Would be great to know this going to become the root of a full "multilanguage" mod.

There have been some general discussion on smf-form, if more interested, let it be know, so that my person cold search them and list.

Again here: please should be seen just as an inspiration and should not bend you from maybe more importand works for you and especially that which is neede for maintaining your livelihood. 
« Last Edit: May 02, 2017, 05:05:17 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Online Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +366/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Responses from Douglas :

Quote from: Johann
Read a little about the further developments and seems to be real great. One, sure not so easy to solve thing: the post-subject.
While writting a topics name in two languages is mostly possible, starting with three is very limited.

(No need to make the post of mine visible, thought it might be useful imput. My Douglas be not to much confused by the question, just importand to be sure before: Is it welcome to try and use this mod for the buddhist community of monks on sangham.net?)

Quote from: Douglas
Sorry about replying so late to your messages.  Have you looked at version 2.1?  I made changes to it regarding "default languages" and such that would probably interest you....  I can add some of your other suggestions, as well....

You are welcome to use any mod that I have on any forum you have.  I don't mind.  In fact, that's why I made them: to be used!

Quote from: Johann
Absolutly no problem, Douglas.
Yes, my person had seen the changes in you discription and Sadhu! (confirming a skilful deed by "Excelent!") for you generosity and invitation.

What ever Douglas feels inspired, and/or useful. My person, if coming across something would always give "naive" feedback.

It for my person needed to say, that he could not give back anything, living on alms and not accepting and using money.

My person will try to install it, not sure if should risk, since on smf 2.0.10, "only" a small tablet and very slow internet connection, as well as no real possibility to ask for support in cases of problems, at this times.

Let's see, in successful case and if possible, my person will give feedback.

Appreciation again for you skilful, generous deeds, Douglas.
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Online Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +366/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Original zip-file is uploaded into Sangha-software section: SHOW SPECIFIED LANGUAGE v2.1 , incl. additional german-language files.

Note that german-language file is not interagted into installation files (package-info.xml ?).

The list of languages misses (!)km - khmer and pi - pali . Not sure if it is proper and enough to add it just in 'Subs-SOSL.php'

If anybody likes to install it. Note that sangham.net is now on 2.0.10 and the mod tested for 2.0.11 to .13.
« Last Edit: May 02, 2017, 06:59:59 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Online Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +366/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Installed

"Show specified language Modification" seems to fine installed. bbc-icon are still missing. Lets test a little.

Guest should see the post in your set language and right on the bottom one may change to other avaliable
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Online Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +366/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
One can also set a "view language"?

The mod maker Douglas's avatar:

Installed

"Show specified language Modification" seems to fine installed. bbc-icon are still missing. Lets test a little.

Guest should see the post in your set language and right on the bottom one may change to other avaliable
« Last Edit: July 22, 2017, 05:47:03 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Online Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +366/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Just testing here: http://sangham.net/index.php/topic,7.msg17.html#msg17

Works also fine within division. See http://sangham.net/index.php/topic,1350.msg12468.html#msg12468

Just "nb" footnote bbc makes troubles.
tried a little also here http://sangham.net/index.php/topic,8136.msg12437.html#msg12437

* Johann : Can be used in post also more then one time.
* Johann :
Better a whole block for each language. Well then for todays morning.



See also requests on Douglas page
« Last Edit: July 23, 2017, 09:36:51 AM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Online Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +366/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527

Aramika   *

Ein oder mehrer Beiträge wurden hier im Thema abgeschnitten und damit in neues Thema "Test: 'Show specified language Modification' - 'Gewähle Sprache zeigen Modifikation' in Split-Mod " eröffnet, dem angehäng.
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Online Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +366/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Offene Punke für ein "perfektes" Multi-Sprachforum:

  • Sprachanzeige mit dem Wechsel der Forumssprache für alle Beiträge ändern. Derzeit abhängig von der eingestellten Sprache des einzelnen Benutzers.
  • Layout für Sonderschriften integrieren.
  • Automatisches Beifügen von fehlenden Sprachabschnitten, mit Hinweis "Noch keine Übersetzung vorhanden. Vielleicht möchen Sie eine teilen", für alle angewandten Sprachen hier.


Die anderen Sprach-bbc wären dann faßt hinfällig, zumindest in der globalen anwendung.

Generell wäre eine Abfrage der Einstellung des Besucher's Browser-Sprache sicher gut, da man Umstellmöglichkeit sicher leicht übersieht]
« Last Edit: July 23, 2017, 02:09:41 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Online Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +366/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Atma hatte versucht die fehlenden Sprachen (km, pi, pi-km, pi-si, pi-my, my, si) in die sups-SOSL.php datei einzufügen, doch dürfte die Sache etwas komplexer sein. Damit war sangham.net for 24h nicht ausführbar, da Fehlermeldung.

Atma konnt eine alte Version vom ES-Explorer im Internet organisieren, mit dem es nun möglich war, das fehlerhafte File mit dem original via ftp zu überspielen.

Atma bittet um Nachsicht für alle Unannehmlichkeiten die da entstanden sind.

Code: [Select]
		// Our massive "RFC-1766 => Language string" array:
$codes = array(
'en' => 'English',
'en-au' => 'English (Australia)',
'en-bz' => 'English (Belize)',
'en-ca' => 'English (Canada)',
'en-gb' => 'English (United Kingdom)',
'en-ie' => 'English (Ireland)',
'en-jm' => 'English (Jamaica)',
'en-nz' => 'English (New Zealand)',
'en-ph' => 'English (Philippines)',
'en-tt' => 'English (Trinidad)',
'en-us' => 'English (United States)',
'en-za' => 'English (South Africa)',
'en-zw' => 'English (Zimbabwe)',
'af' => 'Afrikaans',
'ar' => 'Arabic',
'ar-ae' => 'Arabic (U.A.E.)',
'ar-bh' => 'Arabic (Kingdom of Bahrain)',
'ar-dz' => 'Arabic (Algeria)',
'ar-eg' => 'Arabic (Egypt)',
'ar-iq' => 'Arabic (Iraq)',
'ar-jo' => 'Arabic (Jordan)',
'ar-kw' => 'Arabic (Kuwait)',
'ar-lb' => 'Arabic (Lebanon)',
'ar-ly' => 'Arabic (Libya)',
'ar-ma' => 'Arabic (Morocco)',
'ar-om' => 'Arabic (Oman)',
'ar-qa' => 'Arabic (Qatar)',
'ar-sa' => 'Arabic (Saudi Arabia)',
'ar-sy' => 'Arabic (Syria)',
'ar-tn' => 'Arabic (Tunisia)',
'ar-ye' => 'Arabic (Yemen)',
'as' => 'Assamese',
'az' => 'Azerbaijani',
'be' => 'Belarusian',
'bg' => 'Bulgarian',
'bn' => 'Bangla',
'ca' => 'Catalan',
'cs' => 'Czech',
'da' => 'Danish',
'de' => 'German (Germany)',
'de-at' => 'German (Austria)',
'de-ch' => 'German (Switzerland)',
'de-li' => 'German (Liechtenstein)',
'de-lu' => 'German (Luxembourg)',
'div' => 'Divehi',
'el' => 'Greek',
'es' => 'Spanish',
'es-ar' => 'Spanish (Argentina)',
'es-bo' => 'Spanish (Bolivia)',
'es-cl' => 'Spanish (Chile)',
'es-co' => 'Spanish (Colombia)',
'es-cr' => 'Spanish (Costa Rica)',
'es-do' => 'Spanish (Dominican Republic)',
'es-ec' => 'Spanish (Ecuador)',
'es-gt' => 'Spanish (Guatemala)',
'es-hn' => 'Spanish (Honduras)',
'es-mx' => 'Spanish (Mexico)',
'es-ni' => 'Spanish (Nicaragua)',
'es-pa' => 'Spanish (Panama)',
'es-pe' => 'Spanish (Peru)',
'es-pr' => 'Spanish (Puerto Rico)',
'es-py' => 'Spanish (Paraguay)',
'es-sv' => 'Spanish (El Salvador)',
'es-us' => 'Spanish (United States)',
'es-uy' => 'Spanish (Uruguay)',
'es-ve' => 'Spanish (Venezuela)',
'et' => 'Estonian',
'eu' => 'Basque (Basque)',
'fa' => 'Persian',
'fi' => 'Finnish',
'fo' => 'Faeroese',
'fr' => 'French (France)',
'fr-be' => 'French (Belgium)',
'fr-ca' => 'French (Canada)',
'fr-ch' => 'French (Switzerland)',
'fr-lu' => 'French (Luxembourg)',
'fr-mc' => 'French (Monaco)',
'gd' => 'Scottish Gaelic',
'gl' => 'Galician',
'gu' => 'Gujarati',
'he' => 'Hebrew',
'hi' => 'Hindi',
'hr' => 'Croatian',
'hu' => 'Hungarian',
'hy' => 'Armenian',
'id' => 'Indonesian',
'is' => 'Icelandic',
'it' => 'Italian (Italy)',
'it-ch' => 'Italian (Switzerland)',
'ja' => 'Japanese',
'ka' => 'Georgian',
'kk' => 'Kazakh',
'kn' => 'Kannada',
'km' => 'Khmer',
'ko' => 'Korean',
'kok' => 'Konkani',
'kz' => 'Kyrgyz',
'lt' => 'Lithuanian',
'lv' => 'Latvian',
'mk' => 'Macedonian (FYROM)',
'ml' => 'Malayalam',
'mn' => 'Mongolian (Cyrillic)',
'mr' => 'Marathi',
'ms' => 'Malay',
'mt' => 'Maltese',
'my' => 'Burmese',
'nb-no' => 'Norwegian (Bokmal)',
'ne' => 'Nepali (India)',
'nl-be' => 'Dutch (Belgium)',
'nl' => 'Dutch (Netherlands)',
'nn-no' => 'Norwegian (Nynorsk)',
'no' => 'Norwegian (Bokmal)',
'or' => 'Odia',
'pa' => 'Punjabi',
'pi' => 'Pali',
'pi-km' => 'Pali (Khmer)',
'pi-rm' => 'Pali (Romanic),
'pi-th' => 'Pali (Thai),
'pi-si' => 'Pali (Sinhalese),
'pi-my' => 'Pali (Burmese),
'pl' => 'Polish',
'pt' => 'Portuguese (Portugal)',
'pt-br' => 'Portuguese (Brazil)',
'rm' => 'Rhaeto-Romanic',
'ro' => 'Romanian',
'ro-md' => 'Romanian (Moldova)',
'ru' => 'Russian',
'ru-md' => 'Russian (Moldova)',
'sa' => 'Sanskrit',
'sb' => 'Sorbian',
'si' => 'Sinhalese',
'sk' => 'Slovak',
'sl' => 'Slovenian',
'sq' => 'Albanian',
'sr' => 'Serbian',
'sv' => 'Swedish',
'sv-fi' => 'Swedish (Finland)',
'sw' => 'Swahili',
'sx' => 'Sutu',
'syr' => 'Syriac',
'ta' => 'Tamil',
'te' => 'Telugu',
'th' => 'Thai',
'tn' => 'Tswana',
'tr' => 'Turkish',
'ts' => 'Tsonga',
'tt' => 'Tatar',
'uk' => 'Ukrainian',
'ur' => 'Urdu',
'uz' => 'Uzbek',
'vi' => 'Vietnamese',
'xh' => 'Xhosa',
'yi' => 'Yiddish',
'zh' => 'Chinese',
'zh-cn' => 'Chinese (China)',
'zh-hk' => 'Chinese (Hong Kong SAR)',
'zh-mo' => 'Chinese (Macao SAR)',
'zh-sg' => 'Chinese (Singapore)',
'zh-tw' => 'Chinese (Taiwan)',
'zu' => 'Zulu',
);
$natural = array(
'english' => 'en',
'afrikaans' => 'af',
'arabic' => 'ar',
'assamese' => 'as',
'azerbaijani' => 'az',
'belarusian' => 'be',
'bulgarian' => 'bg',
'bangla' => 'bn',
'catalan' => 'ca',
'czech' => 'cs',
'danish' => 'da',
'german' => 'de',
'divehi' => 'div',
'greek' => 'el',
'spanish' => 'es',
'estonian' => 'et',
'basque' => 'eu',
'persian' => 'fa',
'finnish' => 'fi',
'faeroese' => 'fo',
'french' => 'fr',
'scottish gaelic' => 'gd',
'galician' => 'gl',
'gujarati' => 'gu',
'hebrew' => 'he',
'hindi' => 'hi',
'croatian' => 'hr',
'hungarian' => 'hu',
'armenian' => 'hy',
'indonesian' => 'id',
'icelandic' => 'is',
'italian' => 'it',
'japanese' => 'ja',
'georgian' => 'ka',
'kazakh' => 'kk',
'kannada' => 'kn',
'khmer' => 'km',
'korean' => 'ko',
'konkani' => 'kok',
'kyrgyz' => 'kz',
'lithuanian' => 'lt',
'latvian' => 'lv',
'macedonian' => 'mk',
'malayalam' => 'ml',
'mongolian' => 'mn',
'marathi' => 'mr',
'malay' => 'ms',
'maltese' => 'mt',
'burmese' => 'my',
'norwegian' => 'nb-no',
'nepali' => 'ne',
'dutch' => 'nl-be',
'odia' => 'or',
'punjabi' => 'pa',
'pali' => 'pi',
'pali-khmer' => 'pi-km',
'pali-romanic' => 'pi-rm',
'pali-thai' => 'pi-th,
'pali-sinhalese' => 'pi-si',
'pali-burmese' => 'pi-my',
'polish' => 'pl',
'portuguese' => 'pt',
'rhaeto-romanic' => 'rm',
'romanian' => 'ro',
'russian' => 'ru',
'sanskrit' => 'sa',
'sinhalese' => 'si',
'sorbian' => 'sb',
'slovak' => 'sk',
'slovenian' => 'sl',
'albanian' => 'sq',
'serbian' => 'sr',
'swedish' => 'sv',
'swahili' => 'sw',
'sutu' => 'sx',
'syriac' => 'syr',
'tamil' => 'ta',
'telugu' => 'te',
'thai' => 'th',
'tswana' => 'tn',
'turkish' => 'tr',
'tsonga' => 'ts',
'tatar' => 'tt',
'ukrainian' => 'uk',
'urdu' => 'ur',
'uzbek' => 'uz',
'vietnamese' => 'vi',
'xhosa' => 'xh',
'yiddish' => 'yi',
'chinese' => 'zh',
'zulu' => 'zu',
);
}

Obwohl... hier im Codefenster besser erkennbar als im text-editor, hatten da einige ' gefehlt. Nun nochmal hochgeladen, schein zumindest die Seite trotz Appaption zu funktionieren.

Neues subs-SOSL-file im Auszug:

Code: [Select]
	{
// Our massive "RFC-1766 => Language string" array:
$codes = array(
'en' => 'English',
'en-au' => 'English (Australia)',
'en-bz' => 'English (Belize)',
'en-ca' => 'English (Canada)',
'en-gb' => 'English (United Kingdom)',
'en-ie' => 'English (Ireland)',
'en-jm' => 'English (Jamaica)',
'en-nz' => 'English (New Zealand)',
'en-ph' => 'English (Philippines)',
'en-tt' => 'English (Trinidad)',
'en-us' => 'English (United States)',
'en-za' => 'English (South Africa)',
'en-zw' => 'English (Zimbabwe)',
'af' => 'Afrikaans',
'ar' => 'Arabic',
'ar-ae' => 'Arabic (U.A.E.)',
'ar-bh' => 'Arabic (Kingdom of Bahrain)',
'ar-dz' => 'Arabic (Algeria)',
'ar-eg' => 'Arabic (Egypt)',
'ar-iq' => 'Arabic (Iraq)',
'ar-jo' => 'Arabic (Jordan)',
'ar-kw' => 'Arabic (Kuwait)',
'ar-lb' => 'Arabic (Lebanon)',
'ar-ly' => 'Arabic (Libya)',
'ar-ma' => 'Arabic (Morocco)',
'ar-om' => 'Arabic (Oman)',
'ar-qa' => 'Arabic (Qatar)',
'ar-sa' => 'Arabic (Saudi Arabia)',
'ar-sy' => 'Arabic (Syria)',
'ar-tn' => 'Arabic (Tunisia)',
'ar-ye' => 'Arabic (Yemen)',
'as' => 'Assamese',
'az' => 'Azerbaijani',
'be' => 'Belarusian',
'bg' => 'Bulgarian',
'bn' => 'Bangla',
'ca' => 'Catalan',
'cs' => 'Czech',
'da' => 'Danish',
'de' => 'German (Germany)',
'de-at' => 'German (Austria)',
'de-ch' => 'German (Switzerland)',
'de-li' => 'German (Liechtenstein)',
'de-lu' => 'German (Luxembourg)',
'div' => 'Divehi',
'el' => 'Greek',
'es' => 'Spanish',
'es-ar' => 'Spanish (Argentina)',
'es-bo' => 'Spanish (Bolivia)',
'es-cl' => 'Spanish (Chile)',
'es-co' => 'Spanish (Colombia)',
'es-cr' => 'Spanish (Costa Rica)',
'es-do' => 'Spanish (Dominican Republic)',
'es-ec' => 'Spanish (Ecuador)',
'es-gt' => 'Spanish (Guatemala)',
'es-hn' => 'Spanish (Honduras)',
'es-mx' => 'Spanish (Mexico)',
'es-ni' => 'Spanish (Nicaragua)',
'es-pa' => 'Spanish (Panama)',
'es-pe' => 'Spanish (Peru)',
'es-pr' => 'Spanish (Puerto Rico)',
'es-py' => 'Spanish (Paraguay)',
'es-sv' => 'Spanish (El Salvador)',
'es-us' => 'Spanish (United States)',
'es-uy' => 'Spanish (Uruguay)',
'es-ve' => 'Spanish (Venezuela)',
'et' => 'Estonian',
'eu' => 'Basque (Basque)',
'fa' => 'Persian',
'fi' => 'Finnish',
'fo' => 'Faeroese',
'fr' => 'French (France)',
'fr-be' => 'French (Belgium)',
'fr-ca' => 'French (Canada)',
'fr-ch' => 'French (Switzerland)',
'fr-lu' => 'French (Luxembourg)',
'fr-mc' => 'French (Monaco)',
'gd' => 'Scottish Gaelic',
'gl' => 'Galician',
'gu' => 'Gujarati',
'he' => 'Hebrew',
'hi' => 'Hindi',
'hr' => 'Croatian',
'hu' => 'Hungarian',
'hy' => 'Armenian',
'id' => 'Indonesian',
'is' => 'Icelandic',
'it' => 'Italian (Italy)',
'it-ch' => 'Italian (Switzerland)',
'ja' => 'Japanese',
'ka' => 'Georgian',
'kk' => 'Kazakh',
'kn' => 'Kannada',
'km' => 'Khmer',
'ko' => 'Korean',
'kok' => 'Konkani',
'kz' => 'Kyrgyz',
'lt' => 'Lithuanian',
'lv' => 'Latvian',
'mk' => 'Macedonian (FYROM)',
'ml' => 'Malayalam',
'mn' => 'Mongolian (Cyrillic)',
'mr' => 'Marathi',
'ms' => 'Malay',
'mt' => 'Maltese',
'my' => 'Burmese',
'nb-no' => 'Norwegian (Bokmal)',
'ne' => 'Nepali (India)',
'nl-be' => 'Dutch (Belgium)',
'nl' => 'Dutch (Netherlands)',
'nn-no' => 'Norwegian (Nynorsk)',
'no' => 'Norwegian (Bokmal)',
'or' => 'Odia',
'pa' => 'Punjabi',
'pi' => 'Pali',
'pi-km' => 'Pali (Khmer)',
'pi-rm' => 'Pali (Romanic)',
'pi-th' => 'Pali (Thai)',
'pi-si' => 'Pali (Sinhalese)',
'pi-my' => 'Pali (Burmese)',
'pl' => 'Polish',
'pt' => 'Portuguese (Portugal)',
'pt-br' => 'Portuguese (Brazil)',
'rm' => 'Rhaeto-Romanic',
'ro' => 'Romanian',
'ro-md' => 'Romanian (Moldova)',
'ru' => 'Russian',
'ru-md' => 'Russian (Moldova)',
'sa' => 'Sanskrit',
'sb' => 'Sorbian',
'si' => 'Sinhalese',
'sk' => 'Slovak',
'sl' => 'Slovenian',
'sq' => 'Albanian',
'sr' => 'Serbian',
'sv' => 'Swedish',
'sv-fi' => 'Swedish (Finland)',
'sw' => 'Swahili',
'sx' => 'Sutu',
'syr' => 'Syriac',
'ta' => 'Tamil',
'te' => 'Telugu',
'th' => 'Thai',
'tn' => 'Tswana',
'tr' => 'Turkish',
'ts' => 'Tsonga',
'tt' => 'Tatar',
'uk' => 'Ukrainian',
'ur' => 'Urdu',
'uz' => 'Uzbek',
'vi' => 'Vietnamese',
'xh' => 'Xhosa',
'yi' => 'Yiddish',
'zh' => 'Chinese',
'zh-cn' => 'Chinese (China)',
'zh-hk' => 'Chinese (Hong Kong SAR)',
'zh-mo' => 'Chinese (Macao SAR)',
'zh-sg' => 'Chinese (Singapore)',
'zh-tw' => 'Chinese (Taiwan)',
'zu' => 'Zulu',
);
$natural = array(
'english' => 'en',
'afrikaans' => 'af',
'arabic' => 'ar',
'assamese' => 'as',
'azerbaijani' => 'az',
'belarusian' => 'be',
'bulgarian' => 'bg',
'bangla' => 'bn',
'catalan' => 'ca',
'czech' => 'cs',
'danish' => 'da',
'german' => 'de',
'divehi' => 'div',
'greek' => 'el',
'spanish' => 'es',
'estonian' => 'et',
'basque' => 'eu',
'persian' => 'fa',
'finnish' => 'fi',
'faeroese' => 'fo',
'french' => 'fr',
'scottish gaelic' => 'gd',
'galician' => 'gl',
'gujarati' => 'gu',
'hebrew' => 'he',
'hindi' => 'hi',
'croatian' => 'hr',
'hungarian' => 'hu',
'armenian' => 'hy',
'indonesian' => 'id',
'icelandic' => 'is',
'italian' => 'it',
'japanese' => 'ja',
'georgian' => 'ka',
'kazakh' => 'kk',
'kannada' => 'kn',
'khmer' => 'km',
'korean' => 'ko',
'konkani' => 'kok',
'kyrgyz' => 'kz',
'lithuanian' => 'lt',
'latvian' => 'lv',
'macedonian' => 'mk',
'malayalam' => 'ml',
'mongolian' => 'mn',
'marathi' => 'mr',
'malay' => 'ms',
'maltese' => 'mt',
'burmese' => 'my',
'norwegian' => 'nb-no',
'nepali' => 'ne',
'dutch' => 'nl-be',
'odia' => 'or',
'punjabi' => 'pa',
'pali' => 'pi',
'pali-khmer' => 'pi-km',
'pali-romanic' => 'pi-rm',
'pali-thai' => 'pi-th',
'pali-sinhalese' => 'pi-si',
'pali-burmese' => 'pi-my',
'polish' => 'pl',
'portuguese' => 'pt',
'rhaeto-romanic' => 'rm',
'romanian' => 'ro',
'russian' => 'ru',
'sanskrit' => 'sa',
'sinhalese' => 'si',
'sorbian' => 'sb',
'slovak' => 'sk',
'slovenian' => 'sl',
'albanian' => 'sq',
'serbian' => 'sr',
'swedish' => 'sv',
'swahili' => 'sw',
'sutu' => 'sx',
'syriac' => 'syr',
'tamil' => 'ta',
'telugu' => 'te',
'thai' => 'th',
'tswana' => 'tn',
'turkish' => 'tr',
'tsonga' => 'ts',
'tatar' => 'tt',
'ukrainian' => 'uk',
'urdu' => 'ur',
'uzbek' => 'uz',
'vietnamese' => 'vi',
'xhosa' => 'xh',
'yiddish' => 'yi',
'chinese' => 'zh',
'zulu' => 'zu',
);
}

« Last Edit: July 25, 2017, 12:28:06 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Online Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +366/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Atma hat das derzeitige Display.template.php gehackt, und den maßgeblichen Teil (siehe Code) vor "// Are there any custom profile fields for above the signature?" ausgeschnitten und einfach vor den Post-Content Abschnitt eingefügt. Scheint soweit zu funktionieren.
Gut wäae sicher die Auswahlbox hinter einen Text wie "Anzeigesprache wählen", language-Textsting... und innerhalb einer Division, für Styling und Anordnung zu stellen, aber da möchte er sich mal nicht versuchen.

In der Anlage auch noch das Original-file for der Änderung.

Code: [Select]
// Maybe they can change the displayed language of the post?
if (!empty($message['SOSL_lang']) && count($message['SOSL_lang']) > 1)
{
echo '
<select id="SOSL_msg', $message['id'], '" onChange="return SOSL_change(this);" >';
foreach ($message['SOSL_lang'] as $lang)
echo '
<option value="SOSL_', $message['id'], '_' . $lang . '"', ($message['SOSL_primary'] == $lang ? ' selected="selected"' : ''), '>', SOSL_langName($lang), '</option>';
echo '
</select>
<script type="text/javascript">
document.getElementById("SOSL_msg', $message['id'], '").value = "SOSL_', $message['id'], '_', $message['SOSL_primary'], '";
</script>';
}
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Tags: