Software Hosting and Development Services available at PKP Publishing Services
As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:
As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.
Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.
Moderators: jmacgreg, michael, jheckman, barbarah, btbell, bdgregg, asmecher
Forum rules
What to do if you have a technical problem with OJS:1.
Search the forum. You can do this from the
Advanced Search Page or from our
Google Custom Search, which will search the entire PKP site. If you are encountering an error, we
especially recommend searching the forum for said error.
2.
Check the FAQ to see if your question or error has already been resolved.
3.
Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the
OJS Editorial Support and Discussion subforum; if you have a development question, try the
OJS Development subforum.
by nfeasey » Mon Nov 14, 2005 9:08 am
I was wondering how the email templates are translated if you want to add another language to OJS?
Thanks.
-
nfeasey
-
- Posts: 7
- Joined: Thu Oct 20, 2005 9:01 am
-
by asmecher » Mon Nov 14, 2005 1:34 pm
Hello,
English email templates are stored in dbscripts/xml/data/locale/en_US/email_templates_data.xml; when you create your translation, place the translated email_templates_data.xml file in a directory called dbscripts/xml/data/locale/(locale name) and the email template data will be automatically installed with the locale. (See the Site Administrator's "Languages" page.)
Regards,
Alec Smecher
Open Journal Systems Team
-
asmecher
-
- Posts: 5925
- Joined: Wed Aug 10, 2005 12:56 pm
-
by bunswo » Mon Nov 14, 2005 4:19 pm
Hi -- I tried the steps you recommended but it still doesn't seem to work.
I put the file in a folder called: dbscripts\xml\data\locale\fr\
I un-installed the french language and reinstalled it on the administrator's language page hoping that the email templates would load. The text boxes in the email templates admin pages now appear but there is still no text in them. In fact I checked the database to see if changes that I make to the email templates get saved in the database and they do -- they just don't show up in the text boxes in the email templates admin pages.
-
bunswo
-
- Posts: 6
- Joined: Mon Aug 15, 2005 1:57 pm
-
by asmecher » Mon Nov 14, 2005 5:49 pm
Hello,
From docs/README under the "Localization" section:
Localization
------------
To add support for other languages, the following sets of XML files must be
localized and placed in an appropriately named directory (using ISO locale
codes, e.g. "fr_FR", is recommended):
* locale/en_US
* dbscripts/xml/data/locale/en_US
* help/en_US
* rt/en_US
* plugins/[plugin category]/[plugin name]/locale, where applicable
The only critical files that need translation for the system to function
properly are found in locale/en_US and dbscripts/xml/data/locale/en_US.
New locales must also be added to the file registry/locales.xml, after which
they can be installed in the system through the site administration web
interface.
Translations can be contributed back to PKP for distribution with future
releases of OJS.
Server requirements for full Unicode (UTF-8) support:
* MySQL >= 4.1.1 or PostgreSQL >= 7.1
* PHP >= 4.3.0 compiled with support for the mbstring library
Make sure that the name of the directory (you used "fr") matches the name of the locale as specified in registry/locales.xml. This should be an ISO locale code, e.g. "fr_FR".
Regards,
Alec Smecher
Open Journal Systems
-
asmecher
-
- Posts: 5925
- Joined: Wed Aug 10, 2005 12:56 pm
-
Return to OJS Technical Support
Who is online
Users browsing this forum: No registered users and 3 guests