pH7CMS Internationalization package.

Overview

pH7CMS I18N - Internationalization

pH7CMS Internationalization package. To add new languages to your social dating website.

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)

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 pH7CMS'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} ph7cms {D0T} com

License

License: General Public License 3 or later;

Comments
  • pH7Software/pH7-Internationalization-Italian-Language

    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?

    opened by DEATHJ0KER 8
  • Problem with Italian translation

    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
    
    opened by digiloo 6
  • [Dutch] Update language.php and global.po

    [Dutch] Update language.php and global.po

    Minor changes on the bottom of the language.php. Things where missing, and not or wrongly translated. Loads of additions to global.po and a lot of changes to wrongly translated existing translations and grammatical errors.

    opened by BlackTiger63 5
  • Translation lines

    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?

    opened by jeffric22 3
  • error 150

    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.

    bug 
    opened by ProBreizh 2
  • You have an error in your SQL syntax

    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.

    opened by xavatar 1
  • Brazilian portuguese translation files

    Brazilian portuguese translation files

    The Brazilian Portuguese language package files are ready and improvements will be made as needed.


    @developer1sirimarketing Concerning our chat by email. I now found your PR but wasn't opened on pH7-Internationalization repo. I'm opening it for you ;) Thanks very much Jeferson!

    opened by pH-7 1
  • Change the size of metaCopyright column

    Change the size of metaCopyright column

    The current size of metaCopyright field in MetaMain table is too small to accept the text for other languages that you are using in the insert into statement

    opened by elbanyaoui 1
  • Error page after switching languages

    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.

    opened by crolidge 0
  • Enable support for Progressive Web App

    Enable support for Progressive Web App

    Works only if the PWA module is enabled and if your website is running under https. This is for https://github.com/pH7Software/pH7-Social-Dating-CMS/pull/363

    opened by pH-7 0
  • Slovenian translation

    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...

    opened by mkmorfius 0
  • translation

    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?

    opened by eustachijus 0
  • Italian & Arabic 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?

    opened by mnz1988 0
  • Partial Translation

    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

    opened by WolfDieterKattnig 0
  • ph7cms, in version 16.0.0 the language files are without function!

    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?

    opened by mOOm001 0
  • Italian Language not showing and the endianess of the world

    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

    opened by alainlab 0
Owner
pH7 Social Dating CMS (pH7CMS)
😍 Professional & Open Source Social/Dating Site Builder Solution allowing People & SME to create their own Social Dating Business in Hours 🚀
pH7 Social Dating CMS (pH7CMS)
A PHP internationalization library, powered by CLDR data.

intl A PHP 7.1+ internationalization library, powered by CLDR data. Features: NumberFormatter and CurrencyFormatter, inspired by intl. Currencies Lang

Commerce Guys 351 Dec 30, 2022
FBT - a internationalization framework for PHP designed to be not just powerful and flexible, but also simple and intuitive

FBT is an internationalization framework for PHP designed to be not just powerful and flexible, but also simple and intuitive. It helps with the follo

Richard Dobroň 4 Dec 23, 2022
[Deprecated] A Laravel package for multilingual models

This package has been deprecated. But worry not. You can use Astrotomic/laravel-translatable. Laravel-Translatable If you want to store translations o

Dimitris Savvopoulos 2k Dec 25, 2022
Package to manage Laravel translations locally

Translation Manager For Laravel Easy to use package that helps you with the translation of your Laravel application locally. Features ✅ Check all loca

null 5 Jan 8, 2022
A convenience package for php multilingual web applications

PHP Translation Install Lifecycle Configuration Content of PHP File Content of Json File Content Of Database Table Use Of Array Or Json Database PHP T

Ahmet Barut 3 Jul 7, 2022
Composer package providing translation features for PHP apps

PHP translation This is a composer package providing translation support for PHP applications. It is similar to gettext, in usage, with these differen

Sérgio Carvalho 0 Aug 15, 2022
This package allows to translate text using Google Translator for free without api.

Text Translator for PHP This package allows text translation using Google Translate for free without an API. It extracts the translated text from the

The Jano 3 Nov 7, 2022
Internationalization tools, particularly message translation.

Aura.Intl The Aura.Intl package provides internationalization (I18N) tools, specifically package-oriented per-locale message translation. Installation

Aura for PHP 86 Dec 18, 2022
A PHP internationalization library, powered by CLDR data.

intl A PHP 7.1+ internationalization library, powered by CLDR data. Features: NumberFormatter and CurrencyFormatter, inspired by intl. Currencies Lang

Commerce Guys 351 Dec 30, 2022
FBT - a internationalization framework for PHP designed to be not just powerful and flexible, but also simple and intuitive

FBT is an internationalization framework for PHP designed to be not just powerful and flexible, but also simple and intuitive. It helps with the follo

Richard Dobroň 4 Dec 23, 2022
Until 2018, Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE. Backpack v4 no longer uses this package, they're now built-in - use Backpack/CRUD instead.

Note: This package is only used by Backpack v3. Starting with Backpack v4, everything this package does is included in Backpack/CRUD - one package to

Backpack for Laravel 845 Nov 29, 2022
salah eddine bendyab 18 Aug 17, 2021
Jetstrap is a lightweight laravel 8 package that focuses on the VIEW side of Jetstream / Breeze package installed in your Laravel application

A Laravel 8 package to easily switch TailwindCSS resources generated by Laravel Jetstream and Breeze to Bootstrap 4.

null 686 Dec 28, 2022
A Laravel 5 package for OAuth Social Login/Register implementation using Laravel socialite and (optionally) AdminLTE Laravel package

laravel-social A Laravel 5 package for OAuth Social Login/Register implementation using Laravel socialite and (optionally) AdminLTE Laravel package. I

Sergi Tur Badenas 42 Nov 29, 2022
Laravel Blog Package. Easiest way to add a blog to your Laravel website. A package which adds wordpress functionality to your website and is compatible with laravel 8.

Laravel Blog Have you worked with Wordpress? Developers call this package wordpress-like laravel blog. Contact us for any customization: contact@binsh

Binshops 279 Dec 28, 2022
This package provides extended support for our spatie/enum package in Laravel.

Laravel support for spatie/enum This package provides extended support for our spatie/enum package in Laravel. Installation You can install the packag

Spatie 264 Dec 23, 2022
Traits used primarily in the v6 package but also available as a helper package for applications

Phalcon Traits This package contains traits with methods that are used for Phalcon v6 onward. It can also be useful to others that want short snippets

The Phalcon PHP Framework 5 Oct 7, 2022
A Laravel chat package. You can use this package to create a chat/messaging Laravel application.

Chat Create a Chat application for your multiple Models Table of Contents Click to expand Introduction Installation Usage Adding the ability to partic

Tinashe Musonza 931 Dec 24, 2022
⚡️ This package provides a wonderful PHP skeleton to start building your next package idea.

This package provides a wonderful PHP Skeleton to start building your next package idea. Requires PHP 8.0+ ⚡️ Create your package using Composer: comp

Nuno Maduro 383 Dec 20, 2022