Couldn’t translate everything + currency options
-
Hi,
Thank you for a great plugin. Few minor things I’m missing:
I created my owm language files (for Slovenian language), but some texts was not possible to translate. I figure it out that is missing a part of the code in some files so I edited them (I added: “, ‘affiliates-manager'” to few lines). It would be really great if you could apply this changes to an update of a plugin. I’m sure more users would be grateful.
source –> Validation –> StringValidator.php (line 29)
return __( 'is required', 'affiliates-manager' );
source –> Plugin.php (line 311)
'label_username' => __('Email Address', 'affiliates-manager')
html –> transaction_table.php (line 31)
<label for="to"><?php _e('to', 'affiliates-manager') ?></label>
There is also an email subject for success registratiton for users that could not be translated. I could not found out a solution so I made the change directly to the file (but new plugin update will override it of course). Is there any chance you could add the feature to translate this (via .po file or in the backend?)
source –> Util –> EmailHandler.php (line 49)
$subject = "MY CUSTOM TEXT IN MY LANGUAGE ".$blogname;
Also there are some text in Affiliate Control Panel (in the tables) that also can’t be translated:
– type can’t be translated (e.g. credit)
– status can’t be translated (e.g. confirmed)
– description can’t be translated (e.g. Credit for sale of, Payout)And the last question:
is there any way that you could add a few additional currency options in the settings? Same as Woocommerce has:
– Currency position –> LEFT, RIGHT, LEFT WITH SPACE, RIGHT WITH SPACE
– Thousand separator –> possible to insert (e.g. dor or comma)
– Decimal separator –> possible to insert (e.g. dor or comma)
– Number of decimals –> possible to choose (e.g. 2)For example:
In Slovenia this is how currency is used: 1.000,00 € (while your plugin displays as €1,000.00)Thank you very much in advance,
Ales
- The topic ‘Couldn’t translate everything + currency options’ is closed to new replies.