Contribution: assembling a language pack
As i glance throu the forum it seems that many users want a translation for their WA.
Me too.... So i combined all the info i gathered until now. For your sake and for further improvement by others, here it comes....
Go to "Global javascript" in "Settings"
Insert the following and change the dutch sentences and words into your language.
Hope you like it and that someone can give some more pointers.
<script type="text/javascript">
//To change the Register button label on the events calendar page
if (!top.adminpanel){
$(".boxActionContainer").find("input").val("Schrijf in");
}
</script>
<script type="text/javascript">
// To change the Register button label on the event details page
if (!top.adminpanel){
document.getElementById("ctl03FunctionalBlock1ctl00eventPageViewBasectl00ctl00eventRegistrationActionslobRegistrationbt").value="Schrijf in";
document.getElementById("ctl03FunctionalBlock1ctl00eventPageViewBasectl00ctl03stepTemplateregistrationTopMessagesuggestToLoginMessage_idConfirmWindow.commonMessageBox").value=" is reeds geregistreerd voor deze workshop. Je kan inloggen om jouw bestaande registratie te bekijken - of onderstaand formulier gebruiken om een andere registratie te doen onder hetzelfde mailadres.";
}
</script>
<script type="text/javascript">
// next back en cancel te vervangen
var myPage = document.getElementById('navigationOuterContainer.nonPrintable');
if (myPage)
{
myPage.innerHTML = myPage.innerHTML.replace('Cancel', 'Stoppen');
myPage.innerHTML = myPage.innerHTML.replace('Next', 'Volgende');
myPage.innerHTML = myPage.innerHTML.replace('Back', 'Vorige');
myPage.innerHTML = myPage.innerHTML.replace('Add another', 'Extra toevoegen');
}
</script>
<script type="text/javascript">
var buttonBack =
document.getElementById('ctl03FunctionalBlock1ctl00eventPageViewBasectl00ctl03stepTemplate_prev');
if (buttonBack) {
buttonBack.value = 'Vorige';
}
var buttonNext =
document.getElementById('ctl03FunctionalBlock1ctl00eventPageViewBasectl00ctl03stepTemplate_next');
if (buttonNext) {
buttonNext.value = 'Volgende';
}
var buttonCancel =
document.getElementById('ctl03FunctionalBlock1ctl00eventPageViewBasectl00ctl03stepTemplate_cancel');
if (buttonCancel) {
buttonCancel.value = 'Stoppen';
}
var buttonAddOther =
document.getElementById('ctl03FunctionalBlock1ctl00eventPageViewBasectl00ctl03stepTemplate_additionalButton');
if (buttonAddOther) {
buttonAddOther.value = 'Extra Toevoegen';
}
</script>
<script type="text/javascript">
var myPage = document.getElementById('idEventPageContainer');
if (myPage){
myPage.innerHTML = myPage.innerHTML.replace(/-? ?Upcoming events/g, 'Volgende Workshops');
}
</script>
<script type="text/javascript">
var myPage = document.getElementById('idEventPageContainer');
if (myPage){
myPage.innerHTML = myPage.innerHTML.replace(/-? ?No events available./g, 'Geen workshops gepland.');
}
</script>
<script type="text/javascript">
var myPage = document.getElementById('idEventPageContainer');
if (myPage){
myPage.innerHTML = myPage.innerHTML.replace(/-? ?When/g, 'Wanneer');
}
</script>
<script type="text/javascript">
var myPage = document.getElementById('idEventPageContainer');
if (myPage){
myPage.innerHTML = myPage.innerHTML.replace(/-? ?Location/g, 'Locatie');
}
</script>
<script type="text/javascript">
var myPage = document.getElementById('idEventPageContainer');
if (myPage){
myPage.innerHTML = myPage.innerHTML.replace(/-? ?Spaces left/g, 'Vrije plaatsen');
myPage.innerHTML = myPage.innerHTML.replace(/-? ?Event/g, 'Workshop');
myPage.innerHTML = myPage.innerHTML.replace(/-? ?Show details/g, 'Toon details');
myPage.innerHTML = myPage.innerHTML.replace(/-? ?Registration type/g, 'Soort registratie');
myPage.innerHTML = myPage.innerHTML.replace(/-? ?Total amount/g, 'Vrije toegang');
myPage.innerHTML = myPage.innerHTML.replace(/-? ?Enter registration information/g, 'Vul registratiedetails in');
myPage.innerHTML = myPage.innerHTML.replace(/-? ?Free/g, 'Vrije toegang');
myPage.innerHTML = myPage.innerHTML.replace(/-? ?Mandatory fields/g, 'Verplichte velden');
// myPage.innerHTML = myPage.innerHTML.replace(/-? ?Registration/g, 'Registratie');
myPage.innerHTML = myPage.innerHTML.replace(/-? ?Enter registrant email/g, 'Vul emailadres in van deelnemer');
myPage.innerHTML = myPage.innerHTML.replace(/-? ?Enter guest registration information/g, 'Vul registratiedetails voor de gast in.');
myPage.innerHTML = myPage.innerHTML.replace(/-? ?Guest list/g, 'Gastenlijst');
}
</script>
<script type="text/javascript">
var myPage = document.getElementById('idSectionGuestListContainer');
if (myPage){
myPage.innerHTML = myPage.innerHTML.replace(/-? ?No guest registration entered/g, 'Er is geen registratie voor gasten ingevuld');
}
</script>
-
Duka commented
<script type="text/javascript">
// next back en cancel te vervangen
var myPage = document.getElementById('navigationOuterContainer.nonPrintable');
if (myPage)
{
myPage.innerHTML = myPage.innerHTML.replace('Cancel', 'Stoppen');
myPage.innerHTML = myPage.innerHTML.replace('Next', 'Volgende');
myPage.innerHTML = myPage.innerHTML.replace('Back', 'Vorige');
myPage.innerHTML = myPage.innerHTML.replace('Add another', 'Extra toevoegen');
myPage.innerHTML = myPage.innerHTML.replace('Confirm', 'Bevestigen');
myPage.innerHTML = myPage.innerHTML.replace('Confirmed', 'Bevestigd');
myPage.innerHTML = myPage.innerHTML.replace('Return to event', 'Ga terug naar Workshop');
}
</script>
<script type="text/javascript">
var buttonBack =
document.getElementById('ctl03_FunctionalBlock1_ctl00_eventPageViewBase_ctl00_ctl03_stepTemplate_prev');
if (buttonBack) {
buttonBack.value = 'Vorige';
}
var buttonNext =
document.getElementById('ctl03_FunctionalBlock1_ctl00_eventPageViewBase_ctl00_ctl03_stepTemplate_next');
if (buttonNext) {
buttonNext.value = 'Volgende';
}
var buttonCancel =
document.getElementById('ctl03_FunctionalBlock1_ctl00_eventPageViewBase_ctl00_ctl03_stepTemplate_cancel');
if (buttonCancel) {
buttonCancel.value = 'Stoppen';
}
var buttonAddOther =
document.getElementById('ctl03_FunctionalBlock1_ctl00_eventPageViewBase_ctl00_ctl03_stepTemplate_additionalButton');
if (buttonAddOther) {
buttonAddOther.value = 'Extra Toevoegen';
}
var buttonConfirm =
document.getElementById('ctl03_FunctionalBlock1_ctl00_eventPageViewBase_ctl00_ctl03_stepTemplate_confirm');
if (buttonConfirm) {
buttonConfirm.value = 'Bevestigen';
var buttonBack2 =
document.getElementById('ctl03_FunctionalBlock1_ctl00_eventPageViewBase_ctl00_ctl03_stepTemplate_prevTop.nextButton.hidden');
if (buttonBack2) {
buttonBack2.value = 'Vorige';
}
</script>
<script type="text/javascript">
var myPage = document.getElementById('idEventPageContainer');
if (myPage){
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Upcoming events/g, 'Volgende Workshops');
}
</script>
<script type="text/javascript">
var myPage = document.getElementById('idEventPageContainer');
if (myPage){
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?No events available./g, 'Geen workshops gepland.');
}
</script>
<script type="text/javascript">
var myPage = document.getElementById('idEventPageContainer');
if (myPage){
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?When/g, 'Wanneer');
}
</script>
<script type="text/javascript">
var myPage = document.getElementById('idEventPageContainer');
if (myPage){
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Location/g, 'Locatie');
}
</script>
<script type="text/javascript">
var myPage = document.getElementById('idEventPageContainer');
if (myPage){
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Spaces left/g, 'Vrije plaatsen');
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Event/g, 'Workshop');
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Show details/g, 'Toon details');
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Registration type/g, 'Soort registratie');
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Total amount/g, 'Vrije toegang');
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Enter registration information/g, 'Vul registratiedetails in');
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Free/g, 'Vrije toegang');
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Mandatory fields/g, 'Verplichte velden');
// myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Registration/g, 'Inschrijving');
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Enter registrant email/g, 'Vul emailadres in van deelnemer');
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Enter guest registration information/g, 'Vul registratiedetails voor de gast in.');
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Guest list/g, 'Gastenlijst');
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Registrant data/g, 'Gegevens van inschrijver');
}
</script>
<script type="text/javascript">
var myPage = document.getElementById('idSectionGuestListContainer');
if (myPage){
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?No guest registration entered/g, 'Er is geen registratie voor gasten ingevuld');
}
</script>
<script type="text/javascript">
function hide() {
document.getElementById("idEventViewSwitcher").style.display = "none";
}
</script>
<script type="text/javascript">
// To hide the calendar button and link
if (!top.adminpanel){
document.getElementById("ctl03_FunctionalBlock1_ctl00_eventPageViewBase_ctl00_ctl00_importEvent_ImportEventText").style.display = "none";
}
</script>
-
Duka commented
Adding the whole thing again with some additional translations (mainly the translation of confirmations etc)
<script type="text/javascript">
// dit werkt nog niet
var myPage = document.getElementById('contentBalancePanelId');
if (myPage){
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Incomplete event registration/g, 'Onvolledige inschrijving');
}
</script>
<script type="text/javascript">
//
var myPage = document.getElementById('idPrimaryContentBlock1Content');
if (myPage)
{
myPage.innerHTML = myPage.innerHTML.replace('Back', 'Terug');
myPage.innerHTML = myPage.innerHTML.replace('Return to event', 'Ga terug naar Workshop');
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Workshop registration data/g, 'Persoonsgegevens');
myPage.innerHTML = myPage.innerHTML.replace(/\-? ? is already registered for this event - but you can submit another registration under the same email./g, ' is reeds ingeschreven voor deze workshop, maar je kan nog een nieuwe inschrijving doen onder hetzelfde email adres.');
myPage.innerHTML = myPage.innerHTML.replace('Review my registrations', 'Herbekijk jouw inschrijvingen');
}
</script>
<script type="text/javascript">
//To change the Already registered label on the events calendar page
var myPage = document.getElementById('idPrimaryContentBlock1Content');
if (myPage){
myPage.innerHTML = myPage.innerHTML.replace(/\-? ?Already registered/g, 'Reeds ingeschreven.');
}
</script>