Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Id like to translate WebCalendar into another language. What do I do?

0
Posted

Id like to translate WebCalendar into another language. What do I do?

0

It’s a fairly simple process. If you’ve ever translated a C-based app that used GNU’s gettext tool, then you’ll have no problem. The I18N support was based on GNU’s gettext. Here’s what you need to do. • look in the “translations” directory • copy the English-US.txt file into what you’d like to call your language data file. (e.g. cp English-US.txt French.txt) • Now translate all the text to the _right_ of the “:” into the new language. Do not alter the text to the left of the “:”. • When you’re done making changes, move into the “tools” directory. Run the check_translation.pl script on your new data file to make sure you have all the needed translations. (e.g. perl check_translation.pl French) • Add the new language to both the $languages array and the $browser_languages arrays defined in includes/config.php. • Test it out… • Email a copy of the new .txt data file to cknudsen@radix.net.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123