Giter Site home page Giter Site logo

ph7software / ph7-internationalization Goto Github PK

View Code? Open in Web Editor NEW
23.0 5.0 58.0 3.87 MB

馃帉 pH7CMS Internationalization (I18N) package 馃檴 Get new languages for your pH7CMS website!

Home Page: http://ph7builder.com

PHP 99.63% Shell 0.37%
ph7cms language gettext internationalization i18n french dutch translation spanish indonesian

ph7-internationalization's Introduction

pH7Builder I18N - Internationalization Pack

pH7Builder Internationalization package. To add new languages to your social dating website using pH7Builder (formerly known as pH7CMS).

Available Languages

(not 100% completed)

  • Brazilian Portuguese (Portugu锚s)
  • German (Deutsch)
  • Dutch (Nederlands)
  • French (Fran莽ais)
  • Canadian French (Fran莽ais canadien)
  • Italian (Italiano)
  • Spanish (Espa帽ol)
  • Indonesian (bahasa Indonesia)
  • Hebrew (注执讘专执讬转)

Feel free to contribute by translating the files and adding new languages. Fork the repo, add your changes, commit them and create a pull request.

If you want to translate new languages, start with global.pot Gettext file. You can use software such as Poedit to make the translation much easier.

Then, don't forget to compile it in order to get global.mo file and upload it in "binary" format using an FTP client such as Filezilla or WinSCP.

How to Install Those Languages?

  • Upload the _protected/ folder to your protected pH7Builder's installation with a FTP client such as FileZilla or WinSCP.

  • Optional: Open pH7CMSLangs.sql file. Replace ph7_ by your prefix set in "~/_protected/app/configs/config.ini" [database] prefix variable. Then, execute the file through phpMyAdmin.

Troubleshooting

If it doesn't work even if Gettext is installed on your server, it means the locale (language) you want to install is not available on your server/web hosting. You will have to install it or contact your host to install the locale (language) you want to use for your site.

For Debian-based OS (such as Ubuntu and Linux Mint), please have a look here -> how to install a new locale.

Official Website

PHP Dating Script

The Author

Pierre-Henry Soria 馃憢

Contact

You can send email for any suggestion or question at: hello {AT} ph7builder {D0T} com

License

License: General Public License 3 or newer;

ph7-internationalization's People

Contributors

blacktiger63 avatar ericforever21 avatar jeffricorig avatar ph-7 avatar polynamaude avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ph7-internationalization's Issues

Translation lines

How can I translate the text on home page (Meet & date amazing people near "Minneapolis"!)?
I meant in which file it is.

I added the lines below on my portuguese PO file as you have said before and it did not work.

#: _protected/data/cache/pH7tpl_compile/user_92496e072f4a216a2e22292546425ec0/base/main/user_promo_block.inc.cpl.php:19
msgid "Meet & date amazing people near %0%!"
msgstr "" # Your Portuguese Translation these

Any ideia about it?

Error page after switching languages

Hi folks,

I noticed that switching to another language in the bottom-right corner language selector (I got 3 languages: en_US, pt_PT, es_ES) always results in the default error page, although I have localized all the routes in the en.xml , es.xml and pt.xml files.
There is always difficulty to assume the new language! Do you have any idea what might be happening?

Thanks for your help.

French Language Translate

Hello, I have translated the global.po file into French at around 98%. Can I share it on ph7-Internationalization?

Partial Translation

First of all: I love this software.
The only drawback is the translation into german. There are some only partially translated areas, like e.g. the quick-search form.
in English it reads:
I am: Man
Looking for: Woman/Man/Couple

in German it reads:
I am: Mann
Ich suche nach: Mann/Frau/Paar

I seem can't find the entry for "I am" in the global.po file. What am I missing - or do I have to change something in the code?

Thanks, WD

Problem with Italian translation

I get this for the Italian translation

Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in ..../_protected/app/langs/it_IT/language.php on line 9

I guess the cause is this:

$file  ./langs/it_IT/language.php  
./langs/it_IT/language.php: PHP script, UTF-8 Unicode (**with BOM)** text

$file /langs/en_US/language.php
./langs/en_US/language.php: PHP script, UTF-8 Unicode text

You have an error in your SQL syntax

Hello,
i installed ph7 today and i can not put the translation. I have the following error message:

ALTER TABLE ph7_meta_main MODIFY metaCopyright varchar(55)
MySQL a r茅pondu: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '------
ALTER TABLE ph7_meta_main MODIFY metaCopyright varchar(55)' at line 1

I checked the db of ph7, and I do not see a ph7_meta_main table which explains the error, is this normal?

Thx for reply.

Italian Language not showing and the endianess of the world

Hi i tried to install Italian language but at the beginning it simple showed a empty page. Further investigation and a lot of luck take me to find there's a problem with the encoding of language.php and config.ini in _protected\app\langs\it_IT\ which for both is UTF-8-BOM (which i read have some extra bytes related to endian) instead of UTF-8 . That's create an issue to php. Then to solve the problem it's simply a fact to change encoding to UTF-8 (for example encoding appear down right in notepad++ and there's a menu voice to change encoding). Maybe the translator has the editor set in this way or i don't know. Hope it helps other people. This a sign than even an inexperieced person like me can give it's small contribution :D. Btw if the traslator need or want help i propose myself like second translator for the Italian language

Italian & Arabic Language

Hello, Italian and Arabic and Persian language not working. blank page show when select this languages.
the global.po file also have problem when open it with poedit software. it say duplicate string and gettext error
who can help, please?

translation

hi, sorry for my poor english :)
i'm translating php7 to lithuanian language. after uploding tranlated global.po and seting other language in setting nothing wont change, i tryed change some text in english global.po, but noting wont change. why? can someone help me?

pH7Software/pH7-Internationalization-Italian-Language

Hi, I have completely translated the file. Po and I follow step-by-step script to add the Italian language to your plug-ins. I created the It_IT folder and put the required files in the default location. By clicking on the Italian flag that comes to be generated recognizing the language added, the server returns me Error 500. The Global. po file in English works well when used with other languages. What could be the problem?

Slovenian translation

please help,

I've translated original english global.po file... Created directory sl_SI, copied all files needed there like config.ini, language.php... I also edited those files for my instalation BUT my translation still doesnt work - everything still in english. Do I need .mo file also? sorry for dumb question and please help...

Hello

Can i conntact you per skype or what another ?

Translation of home page text

How can I translate the text on home page (Meet & date amazing people near "Minneapolis"!)?
I meant in which file it is.
screenshot_1

error 150

Hello
I can not import the following sql table: languages_phrases.

I get the following errator:

CREATE TABLE love_languages_phrases (
聽聽 sentenceId int (10) unsigned NOT NULL AUTO_INCREMENT,
聽聽 langId varchar (5) NOT NULL,
聽聽 moduleName varchar (40) NOT NULL,
聽聽 vendorName varchar (40) NOT NULL,
聽聽 token varchar (120) NOT NULL,
聽聽 text mediumtext,
聽聽 added int (10) unsigned DEFAULT NULL,
聽聽 PRIMARY KEY (sentenceId),
聽聽 FOREIGN KEY (langId) REFERENCES love_LanguagesInfo (langId)
) ENGINE = InnoDB DEFAULT CHARSET = utf8 AUTO_INCREMENT = 1
MySQL replied: Documentation

# 1005 - Can not create table 'love.love_languages_phrases' (errno: 150)

What to do ?

Thank you in advance for your answers.

ph7cms, in version 16.0.0 the language files are without function!

Hello

am i a single case or are the language files from the 15.4.0 no longer compatible with the 16.0.0
and thus without function, i uploaded them according to the instructions here, also get the flag
selection of the appropriate national language, but no matter how the selection is set, the
language does not change, it remains English!

Where is the error, is there an update of the language files for this case?

Spanish Language

Hi. Sorry for my lack of knowledge.
After installing the language files, there are many phrases and words that are still displayed in English. However, in the .po file they are translated.
I repeated the installation steps, cleared the cache and also checked the database in case these words were in the database.
...
Nor can I find how to change the coding since the word Palam贸s appears to me (I have changed this word in the database to eliminate the accents, but it still appears ... ???)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.