Laravel PHP

Laravel Framework PHP files for localisation

To localize a Laravel PHP file you can either import and export manually on the dashboard or you can automate your Laravel translation process with the GL Strings Localization CLI.

Website: https://laravel.com/docs/6.x/localization

File Extension
.php
CLI format key
laravel_php
CLI Supported
true
SDK Supported
false
String Description Supported
false
Pluralization Supported
true

Example:

<?php
  return [
    'empty_string_key' => '',
    'with_description_key' => 'This key has a description in some file-formats.',
    'with_line_break_key' => 'This key has a line break
in it.',
    'nested_key' => [
      'level_one_a' => [
        'level_two' => 'A deeply nested key.'
      ],
      'level_one_b' => 'A nested key.'
    ],
    'plural_key' => 'Plural key one|Plural key other|Plural key zero',
    'array_key' => 'first entry|second entry|third entry',
    'simple_key' => 'Most basic translation.'
  ];