Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/FokkeZB/translator
Simple PHP script to let people translate your app's i18n files.
https://github.com/FokkeZB/translator
Last synced: about 2 months ago
JSON representation
Simple PHP script to let people translate your app's i18n files.
- Host: GitHub
- URL: https://github.com/FokkeZB/translator
- Owner: FokkeZB
- Created: 2013-11-30T15:09:00.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-30T10:31:49.000Z (over 9 years ago)
- Last Synced: 2024-06-14T02:35:12.011Z (3 months ago)
- Language: PHP
- Size: 227 KB
- Stars: 20
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Translator [![Titanium](http://www-static.appcelerator.com/badges/titanium-git-badge-sq.png)](http://www.appcelerator.com/titanium/)
A small but helpful script for translating your ([Titanium](http://docs.appcelerator.com/titanium/latest/#!/guide/Titanium_Command-Line_Interface_Reference)) apps.
![screenshot](https://github.com/fokkezb/translator/raw/master/screenshot.png)
# How to use
1. Copy the `index.php` to a server.
2. Secure the directory or just make the URL hard to guess :)
3. Replace the `i18n` directory by the one of your app.
4. Point people to the URL to translate the strings.
5. Download the `i18n` directory by appeding `?action=download`.
6. Overwrite the `i18n` directory of your app or extract them somewhere else and use [ti-i18n](https://nodei.co/npm/ti-i18n/) to merge the files if you have made local changes in the mean time.# Google Translator Toolkit
As an alternative, you could also use [Google Translator Toolkit](http://translate.google.com/toolkit/). It provides automatic translation, translation memory and glossaries. Nice features, but I was in need of a more simple and efficient copy-paste-go solution.
## License
Copyright 2013 Fokke ZandbergenLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.