Closed snikoletopoulos closed 2 years ago
You don't need to specify en_US
and en_GB
separately. Just specify en
– this will work for all English variants.
Hello, thank you for your feedback
I tried using 'en' but I couldn't make it work. I noticed that in other translations there are 'en_US' etc. specified separately. Can you direct me where to look to solve this?
@snikoletopoulos Could you share perhaps your code what you are trying to do? I used the following script and works fine using only the en
locale.
<?php
declare(strict_types=1);
require 'vendor/autoload.php';
$holidays = Yasumi\Yasumi::create('Germany', 2022);
$unityDay = $holidays->getHoliday('germanUnityDay');
echo $unityDay->getName(['de']).PHP_EOL;
// prints "Tag der Deutchsen Einheit"
echo $unityDay->getName().PHP_EOL;
// prints "German Unity Day"
Since this pull request has not had any activity within the last 90 days, I have marked it as stale. I will close it if no further activity occurs within the next 10 days.
Add translation for German Unity Day in English. Please give me feedback.