Recent Topics

[Today at 04:49:30 PM]

[Today at 01:03:59 PM]

[July 11, 2019, 03:32:52 PM]

[July 11, 2019, 12:41:55 PM]

[July 11, 2019, 07:30:52 AM]

[July 10, 2019, 10:04:22 AM]

[July 09, 2019, 10:50:23 AM]

[July 09, 2019, 06:12:23 AM]

[July 09, 2019, 05:06:20 AM]

[July 08, 2019, 12:35:47 PM]

[July 08, 2019, 10:55:23 AM]

[July 08, 2019, 09:25:18 AM]

[July 07, 2019, 01:57:25 PM]

[July 07, 2019, 11:04:48 AM]

[July 06, 2019, 10:02:46 AM]

[July 06, 2019, 09:44:32 AM]

[July 04, 2019, 04:44:03 PM]

[July 01, 2019, 05:21:40 AM]

[June 26, 2019, 05:45:55 AM]

[June 26, 2019, 05:42:15 AM]

[June 24, 2019, 10:39:34 AM]

[June 24, 2019, 07:17:31 AM]

[June 24, 2019, 01:58:24 AM]

[June 22, 2019, 06:24:16 AM]

[June 22, 2019, 05:04:59 AM]

[June 21, 2019, 06:57:43 AM]

[June 20, 2019, 09:14:19 AM]

[June 17, 2019, 07:50:33 PM]

[June 16, 2019, 01:11:35 PM]

[June 16, 2019, 05:18:24 AM]

[June 16, 2019, 04:34:53 AM]

[June 15, 2019, 12:43:56 PM]

[June 15, 2019, 11:04:03 AM]

[June 15, 2019, 11:02:12 AM]

[June 15, 2019, 06:57:16 AM]

[June 15, 2019, 06:08:53 AM]

Talkbox

2019 Jul 10 05:42:38
Khemakumara:  _/\_ _/\_ _/\_ Sadhu

2019 Jul 10 02:06:05
Cheav Villa:  _/\_ _/\_ _/\_

2019 Jul 10 02:02:27
Johann: May all spend a blessed Sila-day today, engaging much in good deeds.

2019 Jul 09 11:04:55
Johann: A meritful rest of Sila-day, those who observe it today.

2019 Jul 07 06:03:30
Cheav Villa:  _/\_ _/\_ _/\_

2019 Jul 06 14:38:48
Mohan Gnanathilake: Dear The Most Reverend Samanera Johann, Dhamma Greetings from Sri Lanka!

2019 Jul 06 14:38:26
Mohan Gnanathilake: Sehr ehrwürdiger Samanera Johann, Dhamma Grüße an Sie aus Sri Lanka!                                                                                                                                 

2019 Jul 06 14:11:36
Johann: Nyom Mohan

2019 Jul 06 13:15:40
Khemakumara:  _/\_ _/\_ _/\_

2019 Jul 06 13:03:25
Johann: Kana will try to send the other half of bag as well as "tnam luvin".

2019 Jul 06 12:57:40
Johann: Half the bag, 7 pills, leaded fast to cure.

2019 Jul 06 12:56:05
Johann: Kana wondered about eye and head ache, later reading that viruse, if on head, easy can damage both.

2019 Jul 06 12:54:26
Johann: Kana had to use anti-biotica (augumentine) of which was still left

2019 Jul 06 12:29:25
Khemakumara:  _/\_ _/\_ _/\_ good state of mind.  The infection of the skin isn't already healed but getting better day by day.

2019 Jul 06 12:18:09
Johann: Bhante. Already good healthy again?

2019 Jul 06 12:12:21
Khemakumara: Nyom Cheav Villa

2019 Jul 06 12:11:55
Khemakumara:  _/\_ _/\_ _/\_ Bhante Johann

2019 Jul 06 11:46:47
Khemakumara: Nyom Vinz

2019 Jul 06 06:21:33
Johann: Sokh chomreoun Nyom

2019 Jul 06 04:29:33
Cheav Villa: ថ្វាយបង្គំព្រះអង្គ _/\_ _/\_ _/\_

2019 Jul 05 12:27:20
Johann: Sadhu

2019 Jul 05 07:51:59
Cheav Villa:  _/\_ _/\_ _/\_

2019 Jul 05 06:52:40
Khemakumara: Today isn't a"full moon"uposatha,  but nevertheless it can be also a"full heart"day of observance and sila.

2019 Jul 04 16:42:58
Moritz: Bong Villa _/\_

2019 Jul 04 16:22:16
Moritz: Vandami Bhante _/\_

2019 Jul 02 04:43:47
Khemakumara:  _/\_ _/\_ _/\_ Sadhu, Sadhu

2019 Jul 02 02:04:50
Johann: A blessed and meritful new-moon Uposatha

2019 Jul 01 06:43:03
Cheav Villa:  _/\_ _/\_ _/\_

2019 Jul 01 04:09:06
Johann: May those undertaking the Uposatha today spend the new-moon joyfull with much merits.

2019 Jun 26 01:07:18
Johann: Good to hear

2019 Jun 25 16:22:42
Cheav Villa: ជំរាបសួរបងស្រី Norum  :D _/\_

2019 Jun 25 12:48:21
Vithou:  _/\_

2019 Jun 25 05:02:43
Cheav Villa:  _/\_ _/\_ _/\_

2019 Jun 25 01:34:59
Johann: May all spend a blessed meritful Sila observing day today

2019 Jun 25 01:34:36
Johann: May all spend a blessed meritful Sila observing day today

2019 Jun 25 01:34:17
Johann: May all spend a blessed meritful Sila observing day today

2019 Jun 23 19:01:54
Vithou:  _/\_

2019 Jun 17 10:19:29
Johann: Bhante Khemakumara. Everything fine, health? Can he walk like before already?

2019 Jun 17 06:34:44
Johann: Sadhu, Sadhu

2019 Jun 17 03:56:38
Cheav Villa: សាធុ សាធុ _/\_ _/\_ _/\_

2019 Jun 17 00:46:14
Khemakumara: May all have a joy-full and fruit-full  Uposatha full-moon day

2019 Jun 15 17:53:43
Cheav Villa: កូណាព្រះអង្គទាំងអស់គ្នាសុខទុក្ខធម្មតា ទាំងសុខភាពឈឺ ជា មិនទៀងទាត់  _/\_ _/\_ _/\_ ស្រីមុខក្រញ៉ូវ គាត់មានសុខភាពល្អជា

2019 Jun 15 13:03:21
Johann: All health?

2019 Jun 15 13:02:56
Johann: Nyom Muk-kamau?

2019 Jun 15 13:01:36
Johann: And own well-being, family?

2019 Jun 15 12:48:22
Johann: Maybe all busy like most at this times.

2019 Jun 15 12:44:14
Cheav Villa: បងពុទ្ធី និងវិធូរ ខ្ញុំកូណាមិនបានជួបគ្នា និងទាក់ទងគ្នាទេ ប៉ុន្មានខែចុងក្រោយនេះ _/\_ _/\_ _/\_

2019 Jun 15 12:42:16
Cheav Villa: ថ្វាយបង្គំព្រះអង្គ  _/\_ _/\_ _/\_

2019 Jun 15 04:21:08
Johann: Nyom Villa. All fine? Nyoms fellows, like Nyom Buddhi... havn't been seen since longer. All fine with friends and family?

2019 Jun 10 04:05:23
Cheav Villa: Sadhu Sadhu  _/\_ _/\_ _/\_

2019 Jun 10 01:47:04
Johann: Sadhu, Sadhu

2019 Jun 10 01:28:53
Khemakumara: May all have a fruitful waxing moon Uposatha!

2019 Jun 10 01:26:44
Khemakumara: Silena sugatiṁ yanti. Through virtue they go to a good destination.  Silena bhoga-sampadā.  Through virtue is wealth attained.  Silena nibbutiṁ yanti. Through virtue they go to Unbinding.  Tasmā silaṁ visodhaye. Therefore we should purify our virtue.

2019 Jun 06 14:52:24
Khemakumara:  _/\_ _/\_ _/\_ kana,  Bhante. The wound heals fast and good.

2019 Jun 06 13:46:02
Johann: Bhante is fine, at least better?

2019 Jun 05 11:53:33
Cheav Villa:  _/\_ _/\_ _/\_

2019 Jun 05 05:19:35
Johann: "N'atthi santi param sukham", there is no peace equal the hail of release

2019 Jun 04 10:25:51
Johann: Nyom Villa

2019 Jun 04 05:13:11
Cheav Villa:  _/\_ _/\_ _/\_

2019 Jun 02 12:03:42
Cheav Villa: Sadhu Sadhu  _/\_ _/\_ _/\_

2019 Jun 02 00:29:09
Johann: May all enjoy the bliss of the fruitful observing of the Uposatha

2019 May 31 14:40:02
Cheav Villa: សាធុ​ សាធុ  _/\_ _/\_ _/\_

2019 May 31 13:47:09
Johann: Sadhu and Anumodana Nyom.

2019 May 31 12:40:14
Cheav Villa: សូមអោយព្រះអង្គឆាប់ជាសះស្បើយ  _/\_ _/\_ _/\_

2019 May 31 12:39:05
Cheav Villa: ព្រះអង្គKhemakumara ត្រូវបានពុទ្ធបរិស័ទនិមន្តទៅគ្លីនីកនៅជិតវត្តកាលពីម៉ោង​2 និងបានវះកាត់ព្យាបាល រួចត្រឡប់ទៅវត្ត

2019 May 31 12:36:20
Cheav Villa: ថ្វាយបង្គំ​ ព្រះ​អង្គ​ _/\_ _/\_ _/\_

2019 May 29 09:03:01
Johann: Had overseen Bhante here. Bhante Ariyadhammika  _/\_

2019 May 29 02:19:33
Khemakumara: Bhante Johann  _/\_ _/\_ _/\_

2019 May 28 04:18:48
Cheav Villa:  _/\_ _/\_ _/\_

2019 May 27 10:03:55
Johann: Much in German, Nyom, currently. Atma will try to translate as much as possible, step by step.

2019 May 26 03:04:21
Cheav Villa:  _/\_ _/\_ _/\_

2019 May 26 03:04:06
Cheav Villa: សាធុ​

2019 May 26 01:02:17
Johann: Sadhu

2019 May 26 00:44:22
Khemakumara: May all have a meritful Uposatha day. Meeting some good friends (kalyanamitta) and som(e) sil(a) សំម សីល!

2019 May 24 14:13:29
Johann: Nyom Moritz

2019 May 24 13:28:52
Moritz: Vandami Bhante _/\_

2019 May 24 05:23:33
Johann: Venerable

2019 May 24 05:22:57
Khemakumara:  _/\_ _/\_ _/\_ Bhante Johann

2019 May 24 02:08:29
Johann: Nyom Moritz, Nyom Villa.

2019 May 24 01:55:56
Cheav Villa:  _/\_ _/\_ _/\_

2019 May 24 01:54:14
Moritz: Bong Villa _/\_

2019 May 24 01:49:43
Moritz: Vandami Bhante _/\_

2019 May 24 01:06:04
Johann: Venerable Ariyadhammika  _/\_

2019 May 20 04:14:26
Cheav Villa:  _/\_ _/\_ _/\_

2019 May 20 01:31:27
Johann:  _/\_ Bhante Indannano

2019 May 19 11:28:39
Khemakumara: Nyom Cheav Villa

2019 May 19 11:27:48
Khemakumara:  _/\_ _/\_ _/\_ Bhante Johann  _/\_ _/\_ _/\_

2019 May 18 23:55:08
Moritz: Vandami Bhante _/\_

2019 May 18 10:34:49
amanaki: Thank you Johann  _/\_

2019 May 18 09:59:33
Johann: Nyom Amanaki. Mudita that you may have possible found what searched for on a special day.

2019 May 18 09:24:56
Maria:  _/\_

2019 May 18 09:24:35
Maria: werter Bhante!

2019 May 18 09:22:43
Johann: Nyom Mizi

2019 May 18 09:21:31
Johann: Nyom Sophorn, Nyom Villa... may all here but also there rejoice in own and others goodness.

2019 May 18 05:03:47
Cheav Villa: សាធុ​សាធុ _/\_ _/\_ _/\_

2019 May 18 02:16:49
Moritz: _/\_ _/\_ _/\_

2019 May 14 07:51:30
Vithou:  _/\_

2019 May 14 05:40:54
Johann: As long as not using telefon while riding. Sokh chomreoun, Nyom.

2019 May 13 18:38:46
Moritz: Vandami Bhante _/\_ (sitting in Taxi)

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]

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

0 Members and 1 Guest are viewing this topic.

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +363/-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

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +363/-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

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +363/-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

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +363/-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

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +363/-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

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +363/-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

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +363/-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

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +363/-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

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +363/-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

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +363/-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: