Closed Liblastic closed 4 years ago
I maintain the nl_NL version myself. So that is up to date. I'd just copy that one and provide the translations.
Awesome by the way you want to help!
By the way. You are completely right about the translate function. I've only recently bought Poedit and found out the same issue. Going to think about a solution that works with that, because I want to start using Poedit more :-)
Closed due to inactivity.
How about this issue.
Are you going to refactor translate()
function calls to the standard __()
functions?
This is a breaking feature for the default translation methods.
You should be safe if you just refactor all the custom translate functions to the standard with text domain __( 'string', 'plugin-text-domain' );.
Note that you couldn't use variable names for the __() parameters because the parser won't be able to handle them correctly.
I hope this helps you.
I think you are right. If you want you can send me a PR and i'll see if I can merge it in the next release.
@doekenorg Do you have any status update for this? I need Finnish translations for my customer. :)
@Liblastic I think the easiest thing to do is release the translation in the next release, and not wait for the next release. Because then I need to release another version only to include the translations. I have 1 feature left for the release of 1.8.0
. If I finish that, I'll give you a heads up. From that point you can checkout the develop
branch, and translate everything in the plugin. You can then send me a PR. I'll merge that in, and I can release 1.8.0
including your translation.
@Liblastic I've just pushed the last change to develop
including all the new translations for dutch. To send me a PR:
develop
develop
develop
branch of this repo. After that I'll merge it, finish up for the master
and release 1.8.0
including your translations.
Hello, I need to add translations for the plugin. I'm using Poedit to scanning the translations. The plugin is using custom functions
translate()
to populate translation functions. I can scantranslate()
function strings if string is inside function by adding custom source keywordtranslate
to the Poedit.But this line 878 isn't possible to scan with Poedit. I would recommend to use standard WordPress functions __(), _x() to translate the strings. Or can you tell me how you are maintaining the translations, thanks!
I fixed this too by the way. Just not in all places, because i only need it once to be able to translate it.
@Liblastic I want to release the new version soon. Can you give me an estimate when you can send in the translations?
Closed due to inactivity. Translations will have to come later.
Hello, I need to add translations for the plugin. I'm using Poedit to scanning the translations. The plugin is using custom functions
translate()
to populate translation functions. I can scantranslate()
function strings if string is inside function by adding custom source keywordtranslate
to the Poedit.But this line 878 isn't possible to scan with Poedit. I would recommend to use standard WordPress functions __(), _x() to translate the strings. Or can you tell me how you are maintaining the translations, thanks!
https://github.com/doekenorg/gf-entries-in-excel/blob/cdbd9da0fac41052940eca3531cb2f8877533dc6/src/GFExcelAdmin.php#L878