adding new translation of uzbek language
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- parmonov98
- Posts: 33
- Joined: 24 Sep 2020, 12:12
adding new translation of uzbek language
after this commandphing -f phing.xml
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /usr/share/php/phing/system/io/UnixFileSystem.php on line 97
PHP Stack trace:
PHP 1. {main}() /usr/share/php/phing.php:0
PHP 2. Phing::fire() /usr/share/php/phing.php:58
PHP 3. Phing::start() /usr/share/php/phing/Phing.php:347
PHP 4. Phing->execute() /usr/share/php/phing/Phing.php:182
PHP 5. PhingFile->__construct() /usr/share/php/phing/Phing.php:466
PHP 6. FileSystem::getFileSystem() /usr/share/php/phing/system/io/PhingFile.php:62
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /usr/share/php/phing/system/io/UnixFileSystem.php on line 126
PHP Stack trace:
PHP 1. {main}() /usr/share/php/phing.php:0
PHP 2. Phing::fire() /usr/share/php/phing.php:58
PHP 3. Phing::start() /usr/share/php/phing/Phing.php:347
PHP 4. Phing->execute() /usr/share/php/phing/Phing.php:182
PHP 5. PhingFile->__construct() /usr/share/php/phing/Phing.php:466
PHP 6. FileSystem::getFileSystem() /usr/share/php/phing/system/io/PhingFile.php:62
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /usr/share/php/phing/system/io/UnixFileSystem.php on line 139
PHP Stack trace:
PHP 1. {main}() /usr/share/php/phing.php:0
PHP 2. Phing::fire() /usr/share/php/phing.php:58
PHP 3. Phing::start() /usr/share/php/phing/Phing.php:347
PHP 4. Phing->execute() /usr/share/php/phing/Phing.php:182
PHP 5. PhingFile->__construct() /usr/share/php/phing/Phing.php:466
PHP 6. FileSystem::getFileSystem() /usr/share/php/phing/system/io/PhingFile.php:62
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /usr/share/php/phing/system/io/UnixFileSystem.php on line 177
PHP Stack trace:
PHP 1. {main}() /usr/share/php/phing.php:0
PHP 2. Phing::fire() /usr/share/php/phing.php:58
PHP 3. Phing::start() /usr/share/php/phing/Phing.php:347
PHP 4. Phing->execute() /usr/share/php/phing/Phing.php:182
PHP 5. PhingFile->__construct() /usr/share/php/phing/Phing.php:466
PHP 6. FileSystem::getFileSystem() /usr/share/php/phing/system/io/PhingFile.php:62
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /usr/share/php/phing/system/io/UnixFileSystem.php on line 197
PHP Stack trace:
PHP 1. {main}() /usr/share/php/phing.php:0
PHP 2. Phing::fire() /usr/share/php/phing.php:58
PHP 3. Phing::start() /usr/share/php/phing/Phing.php:347
PHP 4. Phing->execute() /usr/share/php/phing/Phing.php:182
PHP 5. PhingFile->__construct() /usr/share/php/phing/Phing.php:466
PHP 6. FileSystem::getFileSystem() /usr/share/php/phing/system/io/PhingFile.php:62
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /usr/share/php/phing/system/io/UnixFileSystem.php on line 258
PHP Stack trace:
PHP 1. {main}() /usr/share/php/phing.php:0
PHP 2. Phing::fire() /usr/share/php/phing.php:58
PHP 3. Phing::start() /usr/share/php/phing/Phing.php:347
PHP 4. Phing->execute() /usr/share/php/phing/Phing.php:182
PHP 5. PhingFile->__construct() /usr/share/php/phing/Phing.php:466
PHP 6. FileSystem::getFileSystem() /usr/share/php/phing/system/io/PhingFile.php:62
Buildfile: /home/dev/Documents/laravel/ai-elmobile/ext/el-mobile/phing.xml
el-mobile extension > test:
el-mobile extension - custom library extensions > test:
[echo] Executing unit tests
sh: 1: phpunit: not found
[phing] /home/dev/Documents/laravel/ai-elmobile/ext/el-mobile/lib/custom/build.xml:9:70: Task exited with code 127
BUILD FAILED
/home/dev/Documents/laravel/ai-elmobile/ext/el-mobile/phing.xml:6:61: Execution of the target buildfile failed. Aborting.
Total time: 0.0776 seconds
Code: Select all
~/Documents/laravel/ai-elmobile/ext/el-mobile$ phing -f phing.xml
Aimeos-laravel 2020.10-dev
laravel 8
ubuntu 20
- parmonov98
- Posts: 33
- Joined: 24 Sep 2020, 12:12
Re: adding new translation of uzbek language
I got created somehow, the .pot file, but after build command.
Code: Select all
phing -f phing.xml build
Code: Select all
[echo] File: ./i18n/uz.po [exec] msgfmt: ./i18n/uz.po: warning: PO file header fuzzy [exec] warning: older versions of msgfmt will give an error on this [exec] ./i18n/uz.po:8: invalid nplurals value [exec] ./i18n/uz.po:8: warning: header field 'Project-Id-Version' still has the initial default value [exec] ./i18n/uz.po:8: warning: header field 'PO-Revision-Date' still has the initial default value [exec] ./i18n/uz.po:8: warning: header field 'Last-Translator' still has the initial default value [exec] ./i18n/uz.po:8: warning: header field 'Language-Team' still has the initial default value [exec] ./i18n/uz.po:8: warning: header field 'Language' still has the initial default value [exec] msgfmt: found 2 fatal errors [exec] 0 translated messages, 228 untranslated messages. [foreach] /home/dev/Documents/laravel/ai-elmobile/ext/el-mobile/client/build.xml:37:133: Task exited with code 1 [phing] /home/dev/Documents/laravel/ai-elmobile/ext/el-mobile/client/build.xml:27:69: Execution of the target buildfile failed. Aborting.[/quote] BUILD FAILED /home/dev/Documents/laravel/ai-elmobile/ext/el-mobile/phing.xml:70:59: Execution of the target buildfile failed. Aborting. Total time: 0.2195 seconds
I see the error(quoted), but I dunno how to translate the header strings. Can you point me? or give me an example?[echo] File: ./i18n/uz.po
[exec] msgfmt: ./i18n/uz.po: warning: PO file header fuzzy
[exec] warning: older versions of msgfmt will give an error on this
[exec] ./i18n/uz.po:8: invalid nplurals value
[exec] ./i18n/uz.po:8: warning: header field 'Project-Id-Version' still has the initial default value
[exec] ./i18n/uz.po:8: warning: header field 'PO-Revision-Date' still has the initial default value
[exec] ./i18n/uz.po:8: warning: header field 'Last-Translator' still has the initial default value
[exec] ./i18n/uz.po:8: warning: header field 'Language-Team' still has the initial default value
[exec] ./i18n/uz.po:8: warning: header field 'Language' still has the initial default value
[exec] msgfmt: found 2 fatal errors
[exec] 0 translated messages, 228 untranslated messages.
[foreach] /home/dev/Documents/laravel/ai-elmobile/ext/el-mobile/client/build.xml:37:133: Task exited with code 1
[phing] /home/dev/Documents/laravel/ai-elmobile/ext/el-mobile/client/build.xml:27:69: Execution of the target buildfile failed. Aborting.
BUILD FAILED
/home/dev/Documents/laravel/ai-elmobile/ext/el-mobile/phing.xml:70:59: Execution of the target buildfile failed. Aborting.
Total time: 0.2195 seconds
Re: adding new translation of uzbek language
The easiest way is to request the "Uzbek" language here:
https://www.transifex.com/aimeos/public/
Otherwise, you have to find out yourself how the Gettext header must look like for Uzbek.
https://www.transifex.com/aimeos/public/
Otherwise, you have to find out yourself how the Gettext header must look like for Uzbek.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
