Logo of SermonSpeaker Extension Claim

Login Form

Rereplacer for multiple languages

More
7 years 1 week ago #580 by Andrei Chernyshev
here is code for re-replacer it works with site with multiple languages. taking Russian language and converting scripture links, scripture names from Russian to English. it can easily be modified to work with any other language. I've found use for it to use with sermonspeaker and livingword components.

<?xml version="1.0" encoding="utf-8"?>
<replacements>
	<name>Example XML file for ReReplacer</name>
	<description>This is an example file to show you how to build up an xml file with multiple replacements for ReReplacer.</description>
	<version>2.14.3</version>
	<creationDate>March 2011</creationDate>
	<author>NoNumber! (Peter van Westen)</author>
	<authorEmail>peter@nonumber.nl</authorEmail>
	<authorUrl>http://www.nonumber.nl</authorUrl>
	<copyright>Copyright © 2011 NoNumber! All Rights Reserved</copyright>
	<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
 
	<items>
		<item>
			<search>Бытие,Исход,Левит,Числа,Второзаконие,Иисус Навин,Книга Судей,Руфь,1-я Царств,2-я Царств,3-я Царств,4-я Царств,1-я Паралипоменон,2-я Паралипоменон,Ездра,Неемия,Есфирь,Иов,Псалтирь,Притчи,Екклесиаст,Песни Песней,Исаия,Иеремия,Плач Иеремии,Иезекииль,Даниил,Осия,Иоиль,Амос,Авдия,Иона,Михей,Наум,Аввакум,Софония,Аггей,Захария,Малахия,От Матфея,От Марка,От Луки,От Иоанна,Деяния,К Римлянам,1-е Коринфянам,2-е Коринфянам,К Галатам,К Ефесянам,К Филиппийцам,К Колоссянам,1-е Фессалоникийцам,2-е Фессалоникийцам,1-е Тимофею,2-е Тимофею,К Титу,К Филимону,К Евреям,Иакова,1-e Петра,2-e Петра,1-e Иоанна,2-e Иоанна,3-e Иоанна,Иуда,Откровение</search>
			<replace>Genesis,Exodus,Leviticus,Numbers,Deuteronomy,Joshua,Judges,Ruth,1 Samuel,2 Samuel,1 Kings,2 Kings,1 Chronicles,2 Chronicles,Ezra,Nehemiah,Esther,Job,Psalm,Proverbs,Ecclesiastes,Song of Solomon,Isaiah,Jeremiah,Lamentations,Ezekiel,Daniel,Hosea,Joel,Amos,Obadiah,Jonah,Micah,Nahum,Habakkuk,Zephaniah,Haggai,Zechariah,Malachi,Matthew,Mark,Luke,John,Acts,Romans,1 Corinthians,2 Corinthians,Galatians,Ephesians,Philippians,Colossians,1 Thessalonians,2 Thessalonians,1 Timothy,2 Timothy,Titus,Philemon,Hebrews,James,1 Peter,2 Peter,1 John,2 John,3 John,Jude,Revelation</replace>
		</item>
		<item>
			<search>&version=13;&interface=print</search>
			<replace>&version=31;&interface=print</replace>
		</item>
		<item>
			<search>%D0%91%D1%8B%D1%82%D0%B8%D0%B5,%D0%98%D1%81%D1%85%D0%BE%D0%B4,%D0%9B%D0%B5%D0%B2%D0%B8%D1%82,%D0%A7%D0%B8%D1%81%D0%BB%D0%B0,%D0%92%D1%82%D0%BE%D1%80%D0%BE%D0%B7%D0%B0%D0%BA%D0%BE%D0%BD%D0%B8%D0%B5,%D0%98%D0%B8%D1%81%D1%83%D1%81+%D0%9D%D0%B0%D0%B2%D0%B8%D0%BD,%D0%9A%D0%BD%D0%B8%D0%B3%D0%B0+%D0%A1%D1%83%D0%B4%D0%B5%D0%B9,%D0%A0%D1%83%D1%84%D1%8C,1-%D1%8F+%D0%A6%D0%B0%D1%80%D1%81%D1%82%D0%B2,2-%D1%8F+%D0%A6%D0%B0%D1%80%D1%81%D1%82%D0%B2,3-%D1%8F+%D0%A6%D0%B0%D1%80%D1%81%D1%82%D0%B2,4-%D1%8F+%D0%A6%D0%B0%D1%80%D1%81%D1%82%D0%B2,1-%D1%8F+%D0%9F%D0%B0%D1%80%D0%B0%D0%BB%D0%B8%D0%BF%D0%BE%D0%BC%D0%B5%D0%BD%D0%BE%D0%BD,2-%D1%8F+%D0%9F%D0%B0%D1%80%D0%B0%D0%BB%D0%B8%D0%BF%D0%BE%D0%BC%D0%B5%D0%BD%D0%BE%D0%BD,%D0%95%D0%B7%D0%B4%D1%80%D0%B0,%D0%9D%D0%B5%D0%B5%D0%BC%D0%B8%D1%8F,%D0%95%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0%BD%D0%B0,2-e+%D0%98%D0%BE%D0%B0%D0%BD%D0%BD%D0%B0,3-e+%D0%98%D0%BE%D0%B0%D0%BD%D0%BD%D0%B0,%D0%98%D1%83%D0%B4%D0%B0,%D0%9E%D1%82%D0%BA%D1%80%D0%BE%D0%B2%D0%B5%D0%BD%D0%B8%D0%B5</search>
			<replace>Genesis,Exodus,Leviticus,Numbers,Deuteronomy,Joshua,Judges,Ruth,1+Samuel,2+Samuel,1+Kings,2+Kings,1+Chronicles,2+Chronicles,Ezra,Nehemiah,Esther,Job,Psalm,Proverbs,Ecclesiastes,Song+of+Solomon,Isaiah,Jeremiah,Lamentations,Ezekiel,Daniel,Hosea,Joel,Amos,Obadiah,Jonah,Micah,Nahum,Habakkuk,Zephaniah,Haggai,Zechariah,Malachi,Matthew,Mark,Luke,John,Acts,Romans,1+Corinthians,2+Corinthians,Galatians,Ephesians,Philippians,Colossians,1+Thessalonians,2+Thessalonians,1+Timothy,2+Timothy,Titus,Philemon,Hebrews,James,1+Peter,2+Peter,1+John,2+John,3+John,Jude,Revelation</replace>
		</item>
		<item>
			<search>&version=13&interface=print</search>
			<replace>&version=31&interface=print</replace>
		</item>		
	</items>
</replacements>

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #1241 by wafa
thank you brother its really nice shariing, it will solve my problem also, keep it up


Free Classified

Please Log in or Create an account to join the conversation.

Time to create page: 0.090 seconds
Powered by Kunena Forum