Topic: Preparing for translation
kaputtnik Topic Opener |
Posted at: Today 18:20
Another question: There is a string variable E.g. in English if the variable The current code:
Top Quote |
Nordfriese |
Posted at: Today 19:30
If there's a limited number of possibilities, try to hardcode all possible variants. Your example is problematic as it is as it mixes uppercase and lowercase. (German is a highly unusual language in that it capitalizes regular nouns; English and 99% of other languages don't do that. In your first string, So instead of having the three translatable strings in your code snippet above, you would omit
Stylistic nitpicking: Edited: Today 19:34
Top Quote |
kaputtnik Topic Opener |
Posted at: Today 19:57
Wow, this translation preparation are a world of it's own. Many thanks!
I will try to add some examples and explanations to bformat. For new add-on authors it's cumbersome get his add-on to work and additionally to find the correct syntax and placeholder for formatting the translations. Top Quote |